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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x547297
sub esp, 0x70
lea eax, [0x60c5c0]
mov dword [esp], eax
mov dword [esp + 4], 0x11e
mov dword [esp + 8], 0x11e
call fcn.00437130
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], edx
lea ebx, [0x60c5c0]
mov dword [esp], ebx
mov dword [esp + 4], 0x1e
mov dword [esp + 8], 0x1e
call fcn.00437130
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
lea ebx, [0x60ce40]
mov dword [esp], ebx
mov dword [esp + 4], 0x13d
mov dword [esp + 8], 0x13d
call fcn.00437130
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], edx
lea ebx, [0x61bc20]
mov dword [esp], ebx
mov dword [esp + 4], 0x11e
mov dword [esp + 8], 0x11e
call fcn.00437130
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x58], edx
lea ebx, [0x62c640]
mov dword [esp], ebx
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [0x77c810]
test ecx, ecx
jne 0x54727e
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
lea ecx, [0x61bc20]
mov dword [esp], ecx
mov dword [esp + 4], 0x13
mov dword [esp + 8], 0x13
call fcn.00437130
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
lea ebx, [0x62c640]
mov dword [esp], ebx
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [0x77c810]
test ecx, ecx
jne 0x547265
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
lea ecx, [0x61bc20]
mov dword [esp], ecx
mov dword [esp + 4], 0x1e
mov dword [esp + 8], 0x1e
call fcn.00437130
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x58], edx
lea ebx, [0x62c640]
mov dword [esp], ebx
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [0x77c810]
test ecx, ecx
jne 0x54724c
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
lea ecx, [0x63bd40]
mov dword [esp], ecx
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x78]
mov dword [eax], ecx
mov ecx, dword [0x77c810]
lea edx, [eax + 4]
test ecx, ecx
jne 0x547233
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x160], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x164], ecx
mov ecx, dword [0x77c810]
lea edx, [eax + 0x15c]
test ecx, ecx
jne 0x54721a
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x15c], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x16c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x170], ecx
mov ecx, dword [0x77c810]
lea edx, [eax + 0x168]
test ecx, ecx
jne 0x547201
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x168], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x178], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x17c], ecx
mov ecx, dword [0x77c810]
lea edx, [eax + 0x174]
test ecx, ecx
jne 0x5471e8
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x174], ecx
mov ecx, dword [0x77c810]
lea edx, [eax + 0x180]
test ecx, ecx
jne 0x5471cf
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x180], ecx
mov ecx, dword [0x77c810]
lea edx, [eax + 0x188]
test ecx, ecx
jne 0x5471b6
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x188], ecx
mov ecx, dword [0x77c810]
lea edx, [eax + 0x184]
test ecx, ecx
jne 0x54719d
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x184], ecx
mov edi, dword [esp + 0x74]
test byte [edi], al
mov ecx, dword [0x77c810]
lea edx, [edi + 0x18]
test ecx, ecx
jne 0x547188
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x80]
test eax, eax
je 0x5470c6
cmp eax, 0xfffffffe
je 0x547004
cmp eax, 1
jne 0x546da1
mov ecx, dword [0x766884]
mov edx, dword [0x766880]
cmp eax, ecx
jae 0x546d9a
lea eax, [eax + eax*2]
lea esi, [edx + eax*8]
call fcn.0044a5a4
lea eax, [0x60ce40]
mov dword [esp], eax
mov dword [esp + 4], 0xffff
mov dword [esp + 8], 0xffff
call fcn.00437130
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0xa0040], ecx
mov dword [ebx + 0xa0044], eax
mov eax, dword [0x77c810]
lea ecx, [ebx + 0xa003c]
test eax, eax
jne 0x546d85
mov dword [ebx + 0xa003c], edx
mov eax, dword [0x77c810]
lea ecx, [ebx + 0x20]
test eax, eax
jne 0x546d6a
lea eax, [0x65c1c4]
mov dword [ebx + 0x20], eax
mov eax, dword [0x77c810]
lea ecx, [ebx + 0x24]
test eax, eax
jne 0x546d4f
lea eax, [0x65c1bc]
mov dword [ebx + 0x24], eax
lea eax, [0x60ce40]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0xffff
call fcn.00437130
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x54], edx
lea ebx, [0x624440]
mov dword [esp], ebx
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov dword [eax + 0x2000c], 0xffff
test byte [eax], al
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x20004], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x20008], ecx
mov ecx, dword [0x77c810]
lea edx, [eax + 0x20000]
test ecx, ecx
jne 0x546d36
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x20000], ecx
mov ecx, dword [0x77c810]
mov edx, dword [esp + 0x74]
lea ebx, [edx + 0x2c]
test ecx, ecx
jne 0x546d21
mov dword [edx + 0x2c], eax
lea eax, [0x61ff80]
mov dword [esp], eax
mov dword [esp + 4], 0xffff
mov dword [esp + 8], 0xffff
call fcn.00437130
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0xa0058], eax
mov dword [ebx + 0xa005c], edx
mov eax, dword [0x77c810]
lea edx, [ebx + 0xa0054]
test eax, eax
jne 0x546d13
mov dword [ebx + 0xa0054], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x70
ret
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040d580
jmp 0x546cf9
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d580
mov edx, dword [esp + 0x74]
jmp 0x546ca9
mov dword [esp], edx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x50]
jmp 0x546c95
mov dword [esp], ecx
lea eax, [0x65c1bc]
mov dword [esp + 4], eax
call fcn.0040d580
mov ebx, dword [esp + 0x74]
jmp 0x546c0b
mov dword [esp], ecx
lea eax, [0x65c1c4]
mov dword [esp + 4], eax
call fcn.0040d580
mov ebx, dword [esp + 0x74]
jmp 0x546bf1
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0040d580
mov ebx, dword [esp + 0x74]
jmp 0x546bd7
call fcn.00424660
ud2
cmp eax, 0xffffffff
jne 0x546f75
mov eax, 6
mov ecx, dword [0x766884]
mov edx, dword [0x766880]
cmp eax, ecx
jae 0x546f6e
lea eax, [eax + eax*2]
lea esi, [edx + eax*8]
call fcn.0044a5a4
lea eax, [0x60ce40]
mov dword [esp], eax
mov dword [esp + 4], 0x10000
mov dword [esp + 8], 0x10000
call fcn.00437130
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0xa0040], eax
mov dword [ebx + 0xa0044], ecx
mov eax, dword [0x77c810]
lea ecx, [ebx + 0xa003c]
test eax, eax
jne 0x546f59
mov dword [ebx + 0xa003c], edx
mov dword [ebx + 0xa0034], 1
lea eax, [0x61ff80]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x4001
call fcn.00437130
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0xa0058], ecx
mov dword [ebx + 0xa005c], eax
mov eax, dword [0x77c810]
lea ecx, [ebx + 0xa0054]
test eax, eax
jne 0x546f44
mov dword [ebx + 0xa0054], edx
mov dword [ebx + 0xa0060], 3
mov dword [ebx + 0xa0064], 0
mov byte [ebx + 0xa0050], 0
mov dword [ebx + 0xa0038], 0
mov dword [ebx + 0xa0068], 0
mov dword [ebx + 0x30], 0xffffffff
mov eax, dword [0x77c810]
lea ecx, [ebx + 0x1c]
test eax, eax
jne 0x546f2c
lea eax, [0x65c1dc]
mov dword [ebx + 0x1c], eax
mov eax, dword [0x77c810]
lea ecx, [ebx + 0x20]
test eax, eax
jne 0x546f14
lea eax, [0x65c1c0]
mov dword [ebx + 0x20], eax
mov eax, dword [0x77c810]
lea ecx, [ebx + 0x24]
test eax, eax
jne 0x546efd
lea eax, [0x65c1b8]
mov dword [ebx + 0x24], eax
jmp 0x546cf9
mov dword [esp], ecx
lea eax, [0x65c1b8]
mov dword [esp + 4], eax
call fcn.0040d580
jmp 0x546cf9
mov dword [esp], ecx
lea eax, [0x65c1c0]
mov dword [esp + 4], eax
call fcn.0040d580
mov ebx, dword [esp + 0x74]
jmp 0x546ee2
mov dword [esp], ecx
lea eax, [0x65c1dc]
mov dword [esp + 4], eax
call fcn.0040d580
mov ebx, dword [esp + 0x74]
jmp 0x546ecc
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0040d580
mov ebx, dword [esp + 0x74]
jmp 0x546e80
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0040d580
mov ebx, dword [esp + 0x74]
jmp 0x546e22
call fcn.00424660
ud2
lea ecx, [eax - 2]
cmp ecx, 7
ja 0x546f82
jmp 0x546daf
mov dword [esp + 0x3c], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea eax, [0x60c540]
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0040a860
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x65ad29]
mov dword [esp], eax
mov dword [esp + 4], 0x40
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00499880
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x70
ret
lea eax, [0x60ce40]
mov dword [esp], eax
mov dword [esp + 4], 0xffff
mov dword [esp + 8], 0xffff
call fcn.00437130
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0xa0040], ecx
mov dword [ebx + 0xa0044], eax
mov eax, dword [0x77c810]
lea ecx, [ebx + 0xa003c]
test eax, eax
jne 0x5470b4
mov dword [ebx + 0xa003c], edx
mov eax, dword [0x77c810]
lea ecx, [ebx + 0x20]
test eax, eax
jne 0x54709c
lea eax, [0x65c1c4]
mov dword [ebx + 0x20], eax
mov eax, dword [0x77c810]
lea ecx, [ebx + 0x24]
test eax, eax
jne 0x547085
lea eax, [0x65c1c8]
mov dword [ebx + 0x24], eax
jmp 0x546cf9
mov dword [esp], ecx
lea eax, [0x65c1c8]
mov dword [esp + 4], eax
call fcn.0040d580
jmp 0x546cf9
mov dword [esp], ecx
lea eax, [0x65c1c4]
mov dword [esp + 4], eax
call fcn.0040d580
mov ebx, dword [esp + 0x74]
jmp 0x54706a
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0040d580
mov ebx, dword [esp + 0x74]
jmp 0x547054
lea eax, [0x60ce40]
mov dword [esp], eax
mov dword [esp + 4], 0xffff
mov dword [esp + 8], 0xffff
call fcn.00437130
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0xa0040], eax
mov dword [ebx + 0xa0044], edx
mov eax, dword [0x77c810]
lea edx, [ebx + 0xa003c]
test eax, eax
jne 0x547176
mov dword [ebx + 0xa003c], ecx
mov eax, dword [0x77c810]
lea ecx, [ebx + 0x20]
test eax, eax
jne 0x54715e
lea eax, [0x65c1c4]
mov dword [ebx + 0x20], eax
mov eax, dword [0x77c810]
lea ecx, [ebx + 0x24]
test eax, eax
jne 0x547147
lea eax, [0x65c1cc]
mov dword [ebx + 0x24], eax
jmp 0x546cf9
mov dword [esp], ecx
lea eax, [0x65c1cc]
mov dword [esp + 4], eax
call fcn.0040d580
jmp 0x546cf9
mov dword [esp], ecx
lea eax, [0x65c1c4]
mov dword [esp + 4], eax
call fcn.0040d580
mov ebx, dword [esp + 0x74]
jmp 0x54712c
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040d580
mov ebx, dword [esp + 0x74]
jmp 0x547116
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d580
mov edi, dword [esp + 0x74]
jmp 0x546b43
mov dword [esp], edx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x40]
jmp 0x546b29
mov dword [esp], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x40]
jmp 0x546b0b
mov dword [esp], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x40]
jmp 0x546aed
mov dword [esp], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x40]
jmp 0x546acf
mov dword [esp], edx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x40]
jmp 0x546a9d
mov dword [esp], edx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x40]
jmp 0x546a6b
mov dword [esp], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x40]
jmp 0x546a39
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x48]
jmp 0x546a05
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x4c]
jmp 0x546997
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x44]
jmp 0x546929
call fcn.00448420
jmp fcn.00546800