Function at 0x405450
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [ebp + 8]
cmp byte [eax + 0x411040], 0
je 0x40547e
inc eax
cmp eax, 0xab3
jne 0x40545e
mov eax, dword [0x410f54]
and eax, 0xf30007be
mov dword [0x410eb0], eax
mov esi, dword [0x410eb0]
mov dword [esp + 8], str.LogHr
mov dword [esp + 4], 0x413544
mov eax, esi
mov dword [esp], 0x413544
and esi, 0xa0010200
and eax, 0xb0f19270
mov edi, esi
xor esi, 0x33b819fd
mov dword [esp + 0xc], eax
or edi, 0x480833ab
call fcn.0040dd1c
mov edx, 0x411198
mov ecx, 0x732
mov dword [0x410eb0], esi
movzx eax, byte [edx]
inc edx
test al, al
je 0x4054fd
add ecx, eax
cmp ecx, 0x12ed
jbe 0x4054cf
mov dword [esp + 4], str.gn_PY
add esi, 0xfafeb21
mov dword [esp], edi
call fcn.0040e66c
mov dword [0x410eb0], esi
mov esi, dword [0x410eb0]
or esi, 0xa11366ec
mov dword [0x410eb0], esi
mov dword [esp + 0x10], str.gn_PY
mov dword [esp + 0xc], str.UseLowPriorityConfiguration
mov dword [esp + 8], 0x411198
mov dword [esp + 4], str.ext_ms_win_imm_l1_1_0
mov dword [esp], 0x413544
call fcn.0040cb8c
cmp byte [0x411040], 0
je 0x405550
imul esi, esi, 0x8a4e52ad
mov dword [0x410eb0], esi
imul esi, dword [0x410eb0], 0x1f02ebca
xor edi, edi
mov dword [ebp - 0x24], edi
mov eax, esi
and esi, 0x4fe17dfd
or eax, 0x644ced45
or esi, 0x44406d45
mov dword [0x410eb0], eax
sub esi, 0x308bcfc0
xor eax, eax
mov dword [0x410f54], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
test ebx, ebx
jne 0x4055b2
and esi, 0xb1739156
mov eax, esi
sub esi, 0xa6c883
xor eax, 0xb4228ac5
mov dword [0x410eb0], esi
mov dword [0x410f54], eax
jmp 0x4057ad
cmp dword [ebp + 0xc], 0
jne 0x405608
xor eax, eax
cmp byte [eax + 0x4139a8], 0
je 0x4055de
inc eax
cmp eax, 0xb8b
jne 0x4055ba
call fcn.0040dad0
xor esi, 0xa847982d
mov dword [0x410f54], esi
jmp 0x4055e5
cmp eax, 0x6a0
jle 0x4055f4
mov eax, dword [0x410f54]
add eax, 0x7834c208
mov dword [0x410eb0], eax
mov eax, dword [0x410eb0]
or eax, 0xafe6ac31
mov dword [0x410f54], eax
jmp 0x4057ad
mov eax, dword [ebx + 0x3c]
mov ecx, esi
imul esi, esi, 0x1288a611
or ecx, 0x5a93295c
add eax, ebx
mov dword [0x410eb0], ecx
mov edx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [0x410f54], esi
xor esi, esi
add edx, ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x38], eax
cmp esi, dword [edx + 0x18]
jae 0x4057ad
mov eax, ecx
mov dword [ebp - 0x3c], ecx
xor ecx, ecx
xor eax, 0x70f1288b
mov dword [ebp - 0x40], edx
mov dword [0x410f54], eax
mov eax, dword [ebp - 0x30]
add eax, ebx
mov edi, dword [eax + esi*4]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
add edi, ebx
mov dword [esp], edi
call fcn.004041f4
cmp eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
jne 0x4057a7
mov eax, dword [ebp - 0x38]
add esi, esi
sub ecx, 0x7010ad61
add esi, ebx
mov dword [0x410eb0], ecx
movzx eax, word [esi + eax]
mov esi, dword [ebp - 0x34]
lea eax, [ebx + eax*4]
mov ecx, dword [eax + esi]
add ecx, ebx
mov dword [ebp - 0x24], ecx
cmp ecx, edx
jb 0x4057a2
mov eax, dword [ebp - 0x2c]
add eax, ebx
add eax, edx
cmp ecx, eax
jae 0x4057a2
mov dword [esp], edi
call fcn.0040bc18
mov edx, dword [0x410f54]
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x20], ax
inc eax
mov word [ebp - 0x1e], ax
mov eax, dword [0x40f970]
or edx, 0x5568c7e4
sub edx, 0x61da1341
mov eax, dword [eax + 0x10]
mov dword [0x410f54], edx
test eax, eax
je 0x405729
lea edx, [ebp - 0x24]
mov dword [esp], ebx
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], edx
lea edx, [ebp - 0x20]
mov dword [esp + 4], edx
call eax
sub esp, 0x10
test eax, eax
jns 0x4057a2
jmp 0x4057ad
mov dword [esp + 0x10], 0x413544
mov dword [esp + 0xc], 0x4112f8
mov dword [esp + 8], str.lineNumber
mov dword [esp + 4], 0x411938
mov dword [esp], 0x413544
call fcn.0040cb8c
mov eax, dword [0x410eb0]
sub eax, 0x7255eb7f
imul eax, eax, 0x89dc3d82
mov dword [0x410f54], eax
or eax, 0xce785b0c
mov dword [0x410eb0], eax
mov dword [esp + 0x10], 0x413544
mov dword [esp + 0xc], str.not_a_socket
mov dword [esp + 8], str.UseLowPriorityConfiguration
mov dword [esp + 4], str.zh_TW
mov dword [esp], 0x413544
call fcn.0040cb8c
jmp 0x4057ad
mov eax, dword [ebp - 0x24]
jmp 0x4057af
inc esi
jmp 0x405646
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret