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

Disassembly:
push 0xffffffffffffffff
push 0x5b24a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
fld dword [0x5bb7cc]
mov eax, dword [0x620368]
fdiv dword [0x606458]
xor eax, esp
push ebp
push esi
mov dword [esp + 0x1ac], eax
mov eax, dword [esp + 0x1c0]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x3c], eax
fstp dword [esp + 0x40]
call fcn.004dea50
mov edi, eax
xor ebp, ebp
add esp, 4
cmp edi, ebp
je 0x4a46e5
mov ecx, edi
call fcn.004dc100
test al, al
je 0x4a46ec
xor al, al
jmp 0x4a511a
push ebx
mov ecx, edi
call fcn.004dc050
lea eax, [esi + 0x14]
test eax, eax
je 0x4a4700
lea ebx, [esi + 0x18]
jmp 0x4a4702
xor ebx, ebx
push 0xe
push 0x5cca88
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x2c], 0
call fcn.004041a0
push ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
mov dword [esp + 0x1c8], ebp
call fcn.004dd570
mov ebx, eax
mov eax, dword [esp + 0x38]
neg ebx
sbb bl, bl
inc bl
cmp eax, 0x10
mov dword [esp + 0x1c0], 0xffffffff
jb 0x4a4760
mov edx, dword [esp + 0x24]
push edx
call fcn.0057ad56
add esp, 4
test bl, bl
jne 0x4a482e
push 0x5cca78
lea ecx, [esp + 0x24]
call fcn.00404c90
lea eax, [esi + 0x54]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
mov dword [esp + 0x1c8], 1
call fcn.004dd120
mov ebx, eax
mov eax, dword [esp + 0x38]
neg ebx
sbb bl, bl
inc bl
cmp eax, 0x10
mov dword [esp + 0x1c0], 0xffffffff
jb 0x4a47ba
mov edx, dword [esp + 0x24]
push edx
call fcn.0057ad56
add esp, 4
test bl, bl
jne 0x4a482e
push 0x5cca68
lea ecx, [esp + 0x24]
call fcn.00404c90
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
mov dword [esp + 0x1c8], 2
call fcn.004dc510
lea ecx, [esp + 0x20]
mov ebx, eax
mov dword [esp + 0x1c0], 0xffffffff
call fcn.00507820
cmp ebx, ebp
je 0x4a48d2
mov ebx, dword [esp + 0x1c]
add ebx, 4
mov ecx, ebx
call fcn.00408570
cmp eax, 3
mov ecx, ebx
je 0x4a4835
call fcn.00408570
push eax
push 0x5cca18
call fcn.004fa1e0
add esp, 8
xor al, al
jmp 0x4a5119
push 2
call fcn.00446230
mov ecx, dword [eax + 0x18]
mov ebx, 0x10
cmp ecx, ebx
jb 0x4a4851
mov edx, dword [eax + 4]
mov dword [esp + 0x10], edx
jmp 0x4a4858
add eax, 4
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x1c]
push 1
add ecx, 4
call fcn.00446230
cmp dword [eax + 0x18], ebx
jb 0x4a4870
mov ebp, dword [eax + 4]
jmp 0x4a4873
lea ebp, [eax + 4]
mov ecx, dword [esp + 0x1c]
push 0
add ecx, 4
call fcn.00446230
cmp dword [eax + 0x18], 0x10
jb 0x4a488c
mov ebx, dword [eax + 4]
jmp 0x4a488f
lea ebx, [eax + 4]
mov eax, dword [esp + 0x10]
push eax
call fcn.0057bbfa
fstp dword [esp + 0x14]
push ebp
call fcn.0057bbfa
fstp dword [esp + 0x20]
push ebx
call fcn.0057bbfa
fstp dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x48]
mov dword [esp + 0x4c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x54], edx
call fcn.004a2930
xor ebp, ebp
mov dword [esp + 0x190], 0xf
mov dword [esp + 0x18c], ebp
mov byte [esp + 0x17c], 0
mov ecx, edi
mov dword [esp + 0x1c0], 3
mov dword [esp + 0x10], ebp
call fcn.004dc110
test eax, eax
jbe 0x4a4fa0
mov dword [esp + 0x78], edi
mov edi, edi
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
call fcn.004dc380
lea edx, [esp + 0x178]
push edx
mov ecx, edi
mov byte [esp + 0x1c4], 4
call fcn.004dc860
mov eax, dword [esp + 0x18c]
push 0xe
push 0x5cca04
push eax
push ebp
lea ecx, [esp + 0x188]
call fcn.00408a40
test eax, eax
jne 0x4a4a76
push 0x5cc9f4
lea ecx, [esp + 0x24]
mov dword [esi + 0x68], 1
call fcn.00404c90
lea ecx, [esi + 0x6c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, edi
mov byte [esp + 0x1c8], 5
call fcn.004dd120
mov ebx, eax
mov eax, dword [esp + 0x38]
neg ebx
sbb bl, bl
inc bl
cmp eax, 0x10
mov byte [esp + 0x1c0], 4
jb 0x4a49aa
mov eax, dword [esp + 0x24]
push eax
call fcn.0057ad56
add esp, 4
test bl, bl
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebp
mov byte [esp + 0x24], 0
jne case.0x4a4d70.3
push 0x5cc9e4
lea ecx, [esp + 0x160]
call fcn.00404c90
lea ecx, [esi + 0x70]
push ecx
lea edx, [esp + 0x160]
push edx
mov ecx, edi
mov byte [esp + 0x1c8], 6
call fcn.004dd120
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x15c]
inc bl
mov byte [esp + 0x1c0], 4
call fcn.00507820
test bl, bl
jne case.0x4a4d70.3
push 0x5cc9d4
lea ecx, [esp + 0x80]
call fcn.00404c90
lea eax, [esi + 0x74]
push eax
lea ecx, [esp + 0x80]
push ecx
mov ecx, edi
mov byte [esp + 0x1c8], 7
call fcn.004dd120
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x7c]
inc bl
call fcn.00507820
test bl, bl
je 0x4a4f79
mov ecx, edi
mov byte [esp + 0x1c0], 3
call fcn.004dc060
lea ecx, [esp + 0x178]
call fcn.00507820
xor al, al
jmp 0x4a5119
mov edx, dword [esp + 0x18c]
push 0xd
push 0x5cc9c4
push edx
push ebp
lea ecx, [esp + 0x188]
call fcn.00408a40
test eax, eax
jne 0x4a4ab9
lea eax, [esi + 0x88]
push eax
push edi
mov dword [esi + 0x84], 1
call fcn.004a9bd0
add esp, 8
test eax, eax
je case.0x4a4d70.3
jmp 0x4a4f79
push 0x5cc9b8
lea ecx, [esp + 0x17c]
call fcn.00408be0
test eax, eax
jne 0x4a4c24
push 0x5cc9a8
lea ecx, [esp + 0xd4]
mov dword [esi + 0x78], 1
call fcn.00404c90
lea ebp, [esi + 0x10]
push ebp
lea ecx, [esp + 0xd4]
push ecx
mov ecx, edi
mov byte [esp + 0x1c8], 8
call fcn.004dcf30
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0xd0]
inc bl
mov byte [esp + 0x1c0], 4
call fcn.00507820
test bl, bl
je 0x4a4b2c
mov dword [ebp], 0xffffffff
push 0x5cc994
lea ecx, [esp + 0x144]
call fcn.00404c90
lea ebp, [esi + 0xb4]
push ebp
lea edx, [esp + 0x144]
push edx
mov ecx, edi
mov byte [esp + 0x1c8], 9
call fcn.004dcf30
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x140]
inc bl
mov byte [esp + 0x1c0], 4
call fcn.00507820
test bl, bl
je 0x4a4b82
mov dword [ebp], 0
push 0x5cc984
lea ecx, [esp + 0x10c]
call fcn.00404c90
lea eax, [esi + 0x7c]
push eax
lea ecx, [esp + 0x10c]
push ecx
mov ecx, edi
mov byte [esp + 0x1c8], 0xa
call fcn.004dd120
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x108]
inc bl
mov byte [esp + 0x1c0], 4
call fcn.00507820
test bl, bl
jne case.0x4a4d70.3
push 0x5cc978
lea ecx, [esp + 0x9c]
call fcn.00404c90
lea edx, [esi + 0x80]
push edx
lea eax, [esp + 0x9c]
push eax
mov ecx, edi
mov byte [esp + 0x1c8], 0xb
call fcn.004dd120
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x98]
inc bl
call fcn.00507820
test bl, bl
jne case.0x4a4d70.3
xor ebp, ebp
jmp 0x4a4f79
push 0x5cc968
lea ecx, [esp + 0x17c]
call fcn.00408be0
test eax, eax
jne 0x4a4f79
push 0x5cc950
lea ecx, [esp + 0xb8]
call fcn.00404c90
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0xb8]
push edx
mov ecx, edi
mov byte [esp + 0x1c8], 0xc
call fcn.004dd110
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0xb4]
inc bl
mov byte [esp + 0x1c0], 4
call fcn.00507820
test bl, bl
jne 0x4a4f79
lea ebx, [esi + 0xb8]
push ebx
call fcn.004f3670
mov eax, dword [esp + 0x48]
add esp, 4
push ebp
push eax
mov ecx, ebx
call fcn.004a40c0
mov ecx, ebx
mov dword [esp + 0x14], ebp
call fcn.0042d240
test eax, eax
jbe 0x4a4f79
lea ecx, [ecx]
push 0x5c1d6c
lea ecx, [esp + 0xf0]
call fcn.00404c90
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0xf0]
push edx
mov ecx, edi
mov byte [esp + 0x1c8], 0xd
call fcn.004dc320
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0xec]
inc bl
mov byte [esp + 0x1c0], 4
call fcn.00507820
test bl, bl
jne case.0x4a4d70.3
push 0x5cc940
lea ecx, [esp + 0x128]
call fcn.00404c90
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x128]
push ecx
mov ecx, edi
mov byte [esp + 0x1c8], 0xe
call fcn.004dcf30
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x124]
inc bl
mov byte [esp + 0x1c0], 4
call fcn.00507820
test bl, bl
jne case.0x4a4d70.3
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 9
ja case.0x4a4d70.3
jmp dword [eax*4 + 0x4a5144]
push 0x60
call fcn.0057a6d0
add esp, 4
cmp eax, ebp
je 0x4a4eb5
mov ecx, eax
call fcn.004a2df0
jmp 0x4a4eb7
push 0x68
call fcn.0057a6d0
add esp, 4
cmp eax, ebp
je 0x4a4eb5
mov ecx, eax
call fcn.004a2b60
jmp 0x4a4eb7
push 0x1c
call fcn.0057a6d0
add esp, 4
cmp eax, ebp
je 0x4a4eb5
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [eax], 0x5cc620
jmp 0x4a4eb7
push 0x48
call fcn.0057a6d0
add esp, 4
mov dword [esp + 0x74], eax
cmp eax, ebp
mov byte [esp + 0x1c0], 0xf
je 0x4a4e11
mov ecx, eax
call fcn.004a41a0
mov byte [esp + 0x1c0], 4
mov dword [esi + 0xd8], 1
jmp 0x4a4eb7
xor eax, eax
mov byte [esp + 0x1c0], 4
mov dword [esi + 0xd8], 1
jmp 0x4a4eb7
push 0x30
call fcn.0057a6d0
add esp, 4
cmp eax, ebp
je 0x4a4eb5
mov ecx, eax
call fcn.004a2f40
jmp 0x4a4eb7
push 0x14
call fcn.0057a6d0
add esp, 4
cmp eax, ebp
je 0x4a4eb5
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [eax], 0x5cc680
jmp 0x4a4eb7
push 0x14
call fcn.0057a6d0
add esp, 4
cmp eax, ebp
je 0x4a4eb5
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [eax], 0x5cc68c
jmp 0x4a4eb7
push 0x14
call fcn.0057a6d0
add esp, 4
cmp eax, ebp
je 0x4a4eb5
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [eax], 0x5cc698
jmp 0x4a4eb7
push 0x48
call fcn.0057a6d0
add esp, 4
cmp eax, ebp
je 0x4a4eb5
mov ecx, eax
call fcn.004a2cd0
jmp 0x4a4eb7
xor eax, eax
mov ecx, dword [esi + 0xbc]
mov ebx, dword [esp + 0x14]
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 0xbc]
mov ecx, dword [eax + ebx*4]
mov edx, dword [ecx]
push edi
call dword [edx + 8]
mov eax, dword [esi + 0xbc]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + ebx*4]
mov dword [eax + 4], ecx
push 0x5cc930
lea ecx, [esp + 0x58]
call fcn.00404c90
mov eax, dword [esi + 0xbc]
mov edx, dword [eax + ebx*4]
add edx, 0xc
push edx
lea eax, [esp + 0x58]
push eax
mov ecx, edi
mov byte [esp + 0x1c8], 0x10
call fcn.004dd120
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x54]
inc bl
mov byte [esp + 0x1c0], 4
call fcn.00507820
test bl, bl
jne case.0x4a4d70.3
mov ecx, dword [esp + 0x14]
mov ebx, dword [esi + 0xbc]
mov edx, dword [ebx + ecx*4]
fld dword [edx + 0xc]
fdiv dword [esp + 0x40]
call fcn.0057b228
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + ecx*4]
mov ecx, edi
mov dword [edx + 8], eax
call fcn.004dc060
mov ebx, dword [esp + 0x14]
inc ebx
lea ecx, [esi + 0xb8]
mov dword [esp + 0x14], ebx
call fcn.0042d240
cmp ebx, eax
jb 0x4a4cc0
mov ecx, edi
mov byte [esp + 0x1c0], 3
call fcn.004dc060
mov ebx, dword [esp + 0x10]
inc ebx
mov ecx, edi
mov dword [esp + 0x10], ebx
call fcn.004dc110
cmp ebx, eax
jb 0x4a4910
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x198]
call fcn.0040f740
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x198]
mov byte [esp + 0x1c4], 0x11
call fcn.0047d170
cmp eax, ebp
mov byte [esp + 0x1c0], 0x12
je 0x4a4fdb
add eax, 4
jmp 0x4a4fdd
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x1a4]
call fcn.00403eb0
mov eax, dword [esp + 0x70]
mov edi, 0x10
cmp eax, edi
mov ebp, vtable.CFilename.0
mov byte [esp + 0x1c0], 0x11
mov dword [esp + 0x54], ebp
jb 0x4a5019
mov edx, dword [esp + 0x5c]
push edx
call fcn.0057ad56
add esp, 4
push 4
push 0x5cc928
lea ecx, [esp + 0x1a0]
call fcn.00403fc0
cmp dword [esp + 0x1ac], 0xd
jbe 0x4a50c0
cmp dword [esp + 0x1b0], edi
mov eax, dword [esp + 0x19c]
jae 0x4a5051
lea eax, [esp + 0x19c]
push 0x5cc920
lea ecx, [esp + 0x58]
lea ebx, [eax + 0xd]
call fcn.0040f740
lea eax, [esp + 0x54]
push eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c4], 0x13
call fcn.0040f700
lea ecx, [esp + 0x54]
mov byte [esp + 0x1c0], 0x11
call fcn.0040f6b0
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a5090
sub eax, edx
push eax
lea edi, [esi + 0x38]
push ebx
mov ecx, edi
call fcn.00403fc0
cmp dword [edi + 0x18], 0x10
jb 0x4a50b0
mov edi, dword [edi + 4]
jmp 0x4a50b3
add edi, 4
push edi
mov ecx, esi
call fcn.004a4460
mov edi, 0x10
cmp dword [esp + 0x1b0], edi
mov dword [esp + 0x194], ebp
jb 0x4a50e0
mov ecx, dword [esp + 0x19c]
push ecx
call fcn.0057ad56
add esp, 4
cmp dword [esp + 0x190], edi
mov dword [esp + 0x1b0], 0xf
mov dword [esp + 0x1ac], 0
mov byte [esp + 0x19c], 0
jb 0x4a5117
mov edx, dword [esp + 0x17c]
push edx
call fcn.0057ad56
add esp, 4
mov al, 1
pop ebx
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1a8]
pop ebp
xor ecx, esp
call fcn.0057b3d4
add esp, 0x1b4
ret 4