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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x583ff8
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x84], edi
je 0x539990
or eax, 0xffffffff
jmp 0x53a1f8
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], edi
cmp eax, 4
ja case.0x5399a1.1
jmp dword [eax*4 + 0x53a210]
mov eax, dword [esi + 0x54]
add esi, 0x54
push eax
call fcn.0053f454
mov ecx, dword [esi + 4]
add esp, 4
cmp eax, ecx
jb 0x5399db
lea ecx, [esp + 0x80]
push 0x6663d8
push ecx
mov dword [esp + 0x88], str.The_string_has_no_terminating_null_character_
call fcn.005433b3
cmp eax, edi
jne case.0x5399a1.1
mov edx, dword [esp + 0x80]
mov eax, dword [esi]
or ecx, 0xffffffff
mov ebx, dword [edx + 4]
mov word [eax], di
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, esi
call fcn.00538590
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [0x73643c]
mov ecx, dword [esi]
mov word [ecx + eax*2], 0
jmp case.0x5399a1.1
mov ebx, dword [esp + 0x80]
mov edx, dword [esi + 0x54]
lea ebp, [esi + 0x54]
or ecx, 0xffffffff
mov eax, dword [ebx + 4]
mov word [edx], di
mov dword [esp + 0x80], eax
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, ebp
call fcn.00538590
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
mov edx, dword [esp + 0x80]
push eax
push ecx
push 0xffffffffffffffff
xor edi, edi
push edx
push edi
push 0xfde9
call dword [0x73643c]
mov ecx, dword [ebp]
mov word [ecx + eax*2], di
mov eax, dword [ebx + 0x24]
cmp eax, edi
je 0x539a9c
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esp + 0x10], 0xffffffff
jmp case.0x5399a1.1
cmp dword [esi + 0x34], edi
je case.0x5399a1.1
push 0x12c
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.00538590
mov edx, dword [esp + 0x30]
mov word [edx], di
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x30]
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x74], edi
mov word [edx], di
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x34]
call fcn.00538590
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push 0xffffffffffffffff
push ebp
push 0
push 0xfde9
call dword [0x73643c]
mov edx, dword [esp + 0x30]
mov word [edx + eax*2], 0
mov eax, dword [esp + 0x30]
mov cx, word [ebx + 0x1e]
mov dx, word [ebx + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x8c]
mov word [esp + 0x4c], cx
mov ecx, dword [ebx + 0x24]
mov word [esp + 0x4e], dx
push eax
lea edx, [esp + 0x44]
push ecx
push edx
call dword [esi + 0x34]
mov eax, dword [esp + 0x3c]
push eax
call fcn.0055f8e9
add esp, 0x10
jmp case.0x5399a1.1
push 0x12c
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.00538590
mov ecx, dword [esp + 0x30]
mov word [ecx], di
push 0x12c
lea ecx, [esp + 0x44]
mov dword [esp + 0x78], 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call fcn.00538590
mov edx, dword [esp + 0x40]
mov word [edx], di
push 0x12c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 2
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call fcn.00538590
mov eax, dword [esp + 0x18]
mov word [eax], di
push 0x12c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 3
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.00538590
mov ecx, dword [esp + 0x38]
mov word [ecx], di
push 0x12c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.00538590
mov edx, dword [esp + 0x28]
mov word [edx], di
mov eax, dword [0x733f14]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x80]
mov byte [esp + 0x74], 6
mov ebx, 0xfde9
test byte [eax + 0x1c], 0x80
jne 0x539c25
mov ebx, dword [esi + 0x88]
mov ecx, dword [esp + 0x18]
mov ebp, dword [eax + 4]
xor eax, eax
mov word [ecx], di
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x1c]
call fcn.00538590
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
push 0xffffffffffffffff
push ebp
xor ebp, ebp
push ebp
push ebx
call dword [0x73643c]
mov ecx, dword [esp + 0x18]
mov word [ecx + eax*2], bp
lea ecx, [esp + 0x18]
call fcn.00538e50
mov edx, dword [esp + 0x18]
xor ecx, ecx
cmp eax, ebp
jbe 0x539c8d
cmp word [edx + ecx*2], 0x2f
jne 0x539c88
mov word [edx + ecx*2], 0x5c
mov edx, dword [esp + 0x18]
inc ecx
cmp ecx, eax
jb 0x539c77
push 0x5c
push edx
call fcn.0053f4dd
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x539cda
lea edx, [esp + 0x40]
test edx, edx
je 0x539cc2
push 0x73768c
call fcn.0053f454
add esp, 4
lea ecx, [esp + 0x40]
push eax
push 0x73768c
call fcn.00538e80
lea eax, [esp + 0x30]
test eax, eax
je 0x539d14
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
call fcn.00538f30
jmp 0x539d14
lea edx, [esp + 0x30]
add edi, 2
test edx, edx
je 0x539cf9
push edi
call fcn.0053f454
add esp, 4
lea ecx, [esp + 0x30]
push eax
push edi
call fcn.00538e80
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x40]
sub edi, eax
sar edi, 1
test ecx, ecx
je 0x539d14
push edi
push eax
lea ecx, [esp + 0x48]
call fcn.00538e80
mov edi, dword [esi + 0x4c]
lea ecx, [esi + 0x4c]
call fcn.00538e50
push eax
push edi
lea ecx, [esp + 0x40]
call fcn.00538e80
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x38]
call fcn.00538e50
push eax
push edi
lea ecx, [esp + 0x30]
call fcn.00538e80
lea ecx, [esp + 0x28]
call fcn.00538e50
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00538e50
add edi, eax
lea ecx, [esp + 0x28]
push edi
call fcn.00538590
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.0053f3dc
mov eax, dword [esi + 0xc]
add esp, 8
cmp eax, ebp
mov dword [esi + 8], ebp
je 0x539de1
mov ebx, dword [eax + 8]
cmp ebx, ebp
jle 0x539de1
xor edi, edi
cmp ebx, ebp
jle 0x539dda
lea ecx, [esp + 0x14]
push edi
push ecx
mov ecx, dword [esi + 0xc]
call fcn.004dbe90
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 7
call fcn.0055af32
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 6
call fcn.0055adeb
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x7c]
push edx
push eax
call fcn.0053f51d
add esp, 8
cmp eax, ebp
je 0x539dd6
inc edi
cmp edi, ebx
jl 0x539d8b
jmp 0x539dda
cmp edi, ebx
jl 0x539de1
mov dword [esi + 8], 1
cmp dword [esi + 4], ebp
jne 0x539f22
cmp dword [esi + 8], ebp
jne 0x539f14
mov ebx, dword [esp + 0x38]
push ebx
call fcn.0053a3a0
add esp, 4
test eax, eax
jne 0x539f14
push ebx
lea ecx, [esp + 0x54]
call fcn.005384c0
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x74], 8
push ecx
call fcn.0053a3c0
mov edx, dword [esp + 0x54]
push 0x5c
push edx
call fcn.0053f4dd
add esp, 0xc
cmp eax, ebp
jne 0x539e48
mov eax, dword [esp + 0x50]
push eax
call fcn.0055f8e9
add esp, 4
mov eax, 0xf
jmp 0x539e7a
mov word [eax], bp
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0053a230
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x539ed7
mov edx, dword [esp + 0x50]
mov byte [esp + 0x74], 6
push edx
call fcn.0055f8e9
add esp, 4
cmp edi, ebp
mov eax, edi
je 0x539f14
lea ecx, [esp + 0x7c]
mov dword [esi + 0x74], 8
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], ebp
mov dword [esp + 0x10], 0xffffffff
mov byte [esp + 0x74], 5
call fcn.0055adeb
mov edx, dword [esp + 0x28]
push edx
call fcn.0055f8e9
mov eax, dword [esp + 0x3c]
push eax
call fcn.0055f8e9
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0055f8e9
mov edx, dword [esp + 0x4c]
push edx
call fcn.0055f8e9
mov eax, dword [esp + 0x40]
push eax
call fcn.0055f8e9
add esp, 0x14
jmp case.0x5399a1.1
push ebp
push ebx
call dword [0x73637c]
test eax, eax
jne 0x539f02
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xb7
je 0x539f02
mov eax, dword [esp + 0x50]
mov byte [esp + 0x74], 6
push eax
jmp 0x539e68
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x74], 6
push ecx
call fcn.0055f8e9
add esp, 4
cmp dword [esi + 4], ebp
jne 0x539f22
cmp dword [esi + 8], ebp
je 0x53a012
mov dword [esp + 0x10], 1
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x10], ebp
lea edi, [esi + 0x1c]
mov word [eax], bp
mov ecx, dword [esi + 0x1c]
mov eax, dword [esp + 0x80]
mov word [ecx], bp
mov ebx, dword [esp + 0x28]
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x10], edx
mov ecx, dword [eax]
mov dword [esi + 0x24], ecx
lea ecx, [esp + 0x28]
call fcn.00538e50
push eax
push ebx
mov ecx, edi
call fcn.00538e80
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x18]
lea ebx, [esi + 0x14]
call fcn.00538e50
push eax
push ebp
mov ecx, ebx
call fcn.00538e80
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x30]
test eax, eax
je 0x539fca
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov edi, dword [edi]
mov ebx, dword [ebx]
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x8c]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x58]
push edx
push ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x70], 0
call eax
add esp, 8
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 5
call fcn.0055adeb
mov edx, dword [esp + 0x28]
push edx
call fcn.0055f8e9
mov eax, dword [esp + 0x3c]
push eax
call fcn.0055f8e9
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0055f8e9
mov edx, dword [esp + 0x4c]
push edx
call fcn.0055f8e9
mov eax, dword [esp + 0x40]
push eax
call fcn.0055f8e9
add esp, 0x14
jmp case.0x5399a1.1
mov eax, dword [esp + 0x28]
mov edx, dword [esi]
push 0x180
push 0x8321
push eax
mov ecx, esi
call dword [edx + 0x14]
cmp eax, ebp
mov dword [esp + 0x10], eax
jg 0x539f2a
lea ecx, [esp + 0x7c]
mov dword [esi + 0x74], 8
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], ebp
mov byte [esp + 0x74], 5
call fcn.0055adeb
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0055f8e9
mov edx, dword [esp + 0x3c]
push edx
call fcn.0055f8e9
mov eax, dword [esp + 0x20]
push eax
call fcn.0055f8e9
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0055f8e9
mov edx, dword [esp + 0x40]
push edx
call fcn.0055f8e9
add esp, 0x14
jmp case.0x5399a1.1
push 0x12c
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
call fcn.00538590
mov ecx, dword [esp + 0x50]
mov word [ecx], di
push 0x12c
lea ecx, [esp + 0x24]
mov dword [esp + 0x78], 9
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.00538590
mov edx, dword [esp + 0x20]
mov word [edx], di
mov ebp, dword [esp + 0x80]
mov byte [esp + 0x74], 0xa
test byte [ebp + 0x1c], 0x80
je 0x53a0ea
mov dword [esp + 0x80], 0xfde9
jmp 0x53a0f7
mov eax, dword [esi + 0x88]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x20]
mov ebx, dword [ebp + 4]
xor eax, eax
mov word [ecx], di
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x24]
call fcn.00538590
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x80]
push edx
push eax
push 0xffffffffffffffff
push ebx
push 0
push ecx
call dword [0x73643c]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov word [edx + eax*2], 0
call fcn.00538e50
xor ecx, ecx
test eax, eax
jbe 0x53a167
mov edx, dword [esp + 0x20]
cmp word [edx + ecx*2], 0x2f
jne 0x53a162
mov word [edx + ecx*2], 0x5c
mov edx, dword [esp + 0x20]
inc ecx
cmp ecx, eax
jb 0x53a151
mov edi, dword [esi + 0x4c]
lea ecx, [esi + 0x4c]
call fcn.00538e50
push eax
push edi
lea ecx, [esp + 0x58]
call fcn.00538e80
lea ecx, [esp + 0x20]
call fcn.00538e50
lea ecx, [esp + 0x50]
mov edi, eax
call fcn.00538e50
add edi, eax
lea ecx, [esp + 0x50]
push edi
call fcn.00538590
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x50]
push eax
push ecx
call fcn.0053f3dc
mov edx, dword [ebp + 0x14]
add esp, 8
mov ecx, esi
push edx
call fcn.005398c0
mov ax, word [ebp + 0x1c]
mov cx, word [ebp + 0x1a]
mov dx, word [ebp + 0x18]
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0053a4a0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], 1
push ecx
call fcn.0055f8e9
mov edx, dword [esp + 0x54]
push edx
call fcn.0055f8e9
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 8