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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x54a154
sub esp, 0x94
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x28]
mov edx, dword [ecx + 0x44]
test edx, edx
jne 0x54951d
movzx edx, byte [ecx + 0x50]
test dl, dl
je 0x54a0e6
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
xor ebp, ebp
xor esi, esi
jmp 0x54952e
inc ebp
lea esi, [esi + edi + 1]
cmp ebp, ebx
jge 0x5495a1
lea edi, [edx + ebp*8]
mov edi, dword [edi + 4]
test edi, edi
je 0x549544
cmp edi, 0xff
jle 0x549529
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x617b4c]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [0x65e99c]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x94
ret
cmp esi, 0xffff
jg 0x54a089
mov dword [esp + 0x78], ecx
mov dword [esp], ecx
call fcn.00540740
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x54a02c
mov dword [esp + 0x40], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00540740
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x54a024
xor eax, eax
cmp ax, 0x303
jbe 0x549605
mov eax, 0x303
mov word [esp + 0x2a], ax
lea ecx, [0x5db380]
mov dword [esp], ecx
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.004450a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
lea ecx, [0x5db380]
mov dword [esp], ecx
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.004450a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x40]
mov ebx, dword [ecx + 0x44]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0054f6a0
mov eax, dword [esp + 8]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x94]
mov ebp, dword [edx + 0x98]
mov esi, dword [edx + 0x90]
test ebx, ebx
jne 0x5496b1
mov esi, dword [0x77d4c0]
mov ebx, dword [0x77d4c4]
mov ebp, dword [0x77d4c8]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x34], ebp
lea eax, [0x606f40]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
movzx ecx, word [esp + 0x2a]
mov word [eax + 0xc], cx
lea ecx, [0x5d6840]
mov dword [esp], ecx
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x38], 1
mov dword [ecx + 0x3c], 1
mov edx, dword [0x7a0970]
test edx, edx
jne 0x54a017
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x14], 0x20
mov dword [ecx + 0x18], 0x20
mov edx, dword [0x7a0970]
test edx, edx
jne 0x54a003
mov edx, dword [esp + 0x8c]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x20], 0x20
mov dword [ecx + 0x24], 0x20
mov edx, dword [0x7a0970]
test edx, edx
jne 0x549fef
mov edx, dword [esp + 0x88]
mov dword [ecx + 0x1c], edx
mov byte [ecx + 0x48], 1
mov byte [ecx + 0xa8], 1
mov edx, dword [esp + 0x4c]
mov dword [ecx + 0x44], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x549fdb
mov edx, dword [esp + 0x84]
mov dword [ecx + 0x40], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 0x50], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x54], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x549fca
mov eax, dword [esp + 0x60]
mov dword [ecx + 0x4c], eax
lea eax, [0x5d6840]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x5c], 1
mov dword [ecx + 0x60], 1
mov edx, dword [0x7a0970]
test edx, edx
jne 0x549fbd
mov dword [ecx + 0x58], eax
mov byte [ecx + 0x8c], 1
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x38]
mov ebp, dword [edx + 0x3c]
mov dword [ecx + 0xa0], ebx
mov dword [ecx + 0xa4], ebp
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x549fad
mov dword [ecx + 0x9c], eax
mov ebx, dword [esp + 0x40]
mov dword [ecx + 0xb0], ebx
mov ebx, dword [esp + 0x50]
mov dword [ecx + 0xb4], ebx
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x549f96
mov ebx, dword [esp + 0x90]
mov dword [ecx + 0xac], ebx
mov ebx, dword [esp + 0x98]
mov ebp, dword [ebx + 0x2c]
test ebp, ebp
jle 0x54987e
mov dword [ecx + 0x94], 0xc
mov dword [ecx + 0x98], 0xc
mov ebp, dword [0x7a0970]
lea eax, [ebx + 0x99]
test ebp, ebp
jne 0x549f86
mov dword [ecx + 0x90], eax
mov eax, dword [edx + 0x54]
mov ebx, dword [edx + 0x58]
test eax, eax
je 0x549f5d
mov dword [esp + 0x44], ebx
mov dword [esp + 0x6c], eax
lea ecx, [0x5db2c0]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
call fcn.004450a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x2c], 0
mov edx, dword [esp + 0x44]
mov dword [ecx + 0x30], edx
lea edi, [ecx + 0x28]
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x549f53
mov dword [ecx + 0x28], eax
mov dword [esp + 0x80], edi
mov eax, dword [esp + 0x6c]
xor ebx, ebx
jmp 0x549926
inc eax
mov edx, dword [esp + 0x44]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x6c]
mov eax, dword [esp + 0x50]
cmp edi, eax
jle 0x549916
mov edx, dword [esi + eax*4]
cmp word [edx], bp
jne 0x5498e7
cmp word [ecx + 0xc], 0x303
jae 0x54994e
mov eax, dword [edx + 0x14]
test eax, 4
je 0x54994e
inc ebx
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x80]
cmp ebx, edx
jge 0x5499d2
movzx ebp, word [eax + ebx*2]
mov esi, dword [0x77d490]
mov edi, dword [0x77d494]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x54]
jmp 0x5498f4
mov eax, dword [ecx + 0x2c]
lea edx, [eax + 1]
mov esi, dword [ecx + 0x28]
mov edi, dword [ecx + 0x30]
cmp edx, edi
ja 0x54996a
lea edx, [eax + 1]
mov dword [ecx + 0x2c], edx
mov word [esi + eax*2], bp
jmp 0x549916
mov dword [esp + 0x50], ebx
mov word [esp + 0x26], bp
lea ecx, [0x5db2c0]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.00445150
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x30], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x5499c4
mov dword [ebx + 0x28], eax
mov ebx, dword [esp + 0x50]
movzx ebp, word [esp + 0x26]
mov esi, eax
mov eax, ecx
mov ecx, dword [esp + 0x74]
jmp 0x54995e
mov edi, dword [esp + 0x80]
call fcn.0045de10
jmp 0x5499b1
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
test edx, edx
je 0x549f42
mov eax, dword [ecx + 0x14]
mov ebp, dword [ecx + 0x10]
mov esi, dword [ecx + 0x18]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
call fcn.00488e80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x549e8c
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
test ecx, ecx
je 0x549e7b
mov eax, dword [esp + 0x74]
mov ebx, dword [eax + 0x20]
mov ebp, dword [eax + 0x1c]
mov esi, dword [eax + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
call fcn.00488e80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x549dc5
mov edx, dword [esp + 0x74]
cmp word [edx + 0xc], 0x303
jb 0x549a97
mov eax, dword [0x77d530]
mov ebx, dword [0x77d534]
mov ebp, dword [0x77d538]
mov dword [edx + 0x78], ebx
mov dword [edx + 0x7c], ebp
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x549db8
mov dword [edx + 0x74], eax
mov ecx, dword [edx + 0xb0]
mov ebx, dword [edx + 0xac]
test ecx, ecx
jbe 0x54a14c
cmp word [ebx], 0x304
je 0x549ae8
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x94
ret
lea eax, [0x7a0860]
mov dword [esp], eax
lea eax, [0x626f28]
mov dword [esp + 4], eax
call fcn.00470ce0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x2c]
mov edx, dword [0x783564]
lea ebx, [ecx + edx]
mov dword [esp + 0x50], ebx
mov ebp, dword [eax + 0x30]
mov esi, dword [eax + 0x28]
mov edi, dword [0x783560]
cmp ebp, ebx
jb 0x549d75
mov dword [esp + 0x90], esi
mov dword [esp + 0x4c], ebp
lea eax, [esi + ecx*2]
mov dword [esp], eax
mov dword [esp + 4], edi
shl edx, 1
mov dword [esp + 8], edx
call fcn.0045e7b0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0x30], eax
mov eax, dword [0x7a0970]
test eax, eax
jne 0x549d5d
mov edx, dword [esp + 0x90]
mov dword [ecx + 0x28], edx
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x94]
mov ebp, dword [edx + 0x90]
test ebx, ebx
jne 0x549b92
mov ebp, dword [0x77d4c0]
mov ebx, dword [0x77d4c4]
test ebx, ebx
jbe 0x54a143
movzx eax, word [ebp]
mov word [esp + 0x28], ax
mov word [esp], ax
call fcn.0055cf80
movzx eax, byte [esp + 0xc]
movzx ecx, word [esp + 0x28]
cmp cx, 0x1d
je 0x549bc4
test al, al
je 0x549d00
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test edx, edx
je 0x549cef
mov dword [esp], edx
mov dword [esp + 4], eax
mov word [esp + 8], cx
call fcn.0055cc20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x549cb9
mov dword [esp + 0x70], ebp
mov dword [esp + 0x48], ebx
mov eax, dword [ebx + 0x14]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x4c], edx
lea ebx, [0x5d6580]
mov dword [esp], ebx
call fcn.0040b8d0
mov eax, dword [esp + 4]
movzx ecx, word [esp + 0x28]
mov word [eax], cx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x549ca7
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0xc8], 1
mov dword [ecx + 0xcc], 1
mov edx, dword [0x7a0970]
test edx, edx
jne 0x549c9a
mov dword [ecx + 0xc4], eax
mov edx, ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
jmp 0x549ab6
lea edi, [ecx + 0xc4]
call fcn.0045de10
jmp 0x549c8b
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x7c]
call fcn.0045de10
mov eax, ecx
jmp 0x549c63
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
add esp, 0x94
ret
mov edx, dword [0x782f30]
mov eax, dword [0x782f34]
jmp 0x549bd5
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x30
lea ecx, [0x61da6d]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [0x65e99c]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x94
ret
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x90]
call fcn.0045de10
jmp 0x549b72
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x5c], edi
lea eax, [0x5db2c0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00445150
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x5c]
jmp 0x549b28
lea edi, [edx + 0x74]
call fcn.0045de10
jmp 0x549a97
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x616e82]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004484b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
lea edx, [0x5e46a0]
mov dword [esp], edx
call fcn.0040b8d0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x38]
mov dword [edi + 4], eax
mov eax, dword [0x7a0970]
test eax, eax
jne 0x549e70
mov eax, dword [esp + 0x64]
mov dword [edi], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x65e99c]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
add esp, 0x94
ret
mov eax, dword [esp + 0x64]
call fcn.0045de10
jmp 0x549e34
mov ecx, dword [0x782f30]
mov edx, dword [0x782f34]
jmp 0x549a29
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x616e82]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004484b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edx, [0x5e46a0]
mov dword [esp], edx
call fcn.0040b8d0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x3c]
mov dword [edi + 4], eax
mov eax, dword [0x7a0970]
test eax, eax
jne 0x549f37
mov eax, dword [esp + 0x68]
mov dword [edi], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x65e99c]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
add esp, 0x94
ret
mov eax, dword [esp + 0x68]
call fcn.0045de10
jmp 0x549efb
mov edx, dword [0x782f30]
mov ebx, dword [0x782f34]
jmp 0x5499e3
call fcn.0045de10
jmp 0x5498d8
lea eax, [0x7a0860]
mov dword [esp], eax
lea ecx, [0x626f28]
mov dword [esp + 4], ecx
call fcn.00470ce0
mov eax, dword [0x783550]
mov ebx, dword [0x783554]
jmp 0x54988c
lea edi, [ecx + 0x90]
call fcn.0045de10
jmp 0x54987e
lea edi, [ecx + 0xac]
mov eax, dword [esp + 0x90]
call fcn.0045de10
jmp 0x549842
lea edi, [ecx + 0x9c]
call fcn.0045de10
jmp 0x549813
lea edi, [ecx + 0x58]
call fcn.0045de10
jmp 0x5497df
lea edi, [ecx + 0x4c]
mov eax, dword [esp + 0x60]
call fcn.0045de10
jmp 0x5497aa
lea edi, [ecx + 0x40]
mov eax, dword [esp + 0x84]
call fcn.0045de10
jmp 0x549787
lea edi, [ecx + 0x1c]
mov eax, dword [esp + 0x88]
call fcn.0045de10
jmp 0x54975d
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x8c]
call fcn.0045de10
jmp 0x549737
lea edi, [ecx + 0x34]
call fcn.0045de10
jmp 0x549711
movzx eax, word [ecx]
jmp 0x5495fa
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3c
lea ecx, [0x61f8e0]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [0x65e99c]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x94
ret
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x618d61]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [0x65e99c]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x94
ret
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x50
lea ecx, [0x620b16]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [0x65e99c]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x94
ret
xor eax, eax
mov ecx, ebx
call fcn.0045de90
xor eax, eax
call fcn.0045de90
nop
call fcn.0045c8b0
jmp fcn.005494e0