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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56e2ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push 0xc
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
call fcn.0055d252
add esp, 4
mov dword [esp + 0x54], eax
cmp eax, ebx
mov dword [esp + 0xe8], ebx
je 0x4b350b
mov edx, dword [esi + 4]
push ebx
mov ecx, dword [edx + 0x6c]
push ecx
mov ecx, dword [edx + 0x68]
push ecx
push edx
mov edx, dword [ebp + 8]
mov ecx, eax
push edx
call fcn.004e1d40
mov dword [esp + 0x50], eax
jmp 0x4b350f
mov dword [esp + 0x50], ebx
mov eax, dword [esi + 4]
push ebx
push ebx
mov dword [esp + 0xf0], 0xffffffff
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov edi, dword [eax + 0x30]
lea eax, [esp + 0x6c]
mov dword [esp + 0x4c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x54], edx
call fcn.004b48d0
cmp edi, ebx
mov dword [esp + 0x6c], ebx
je 0x4b3584
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xc]
test eax, eax
je 0x4b3570
mov eax, dword [edi]
lea ecx, [esp + 0x88]
push ecx
push ebx
push ebx
mov ecx, edi
call dword [eax + 8]
lea edx, [esp + 0x88]
mov dword [esp + 0x84], edx
jmp 0x4b358b
lea edx, [esp + 0x88]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x84], edx
jmp 0x4b358b
mov dword [esp + 0x84], ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esi + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
cmp dword [edx + 0x88], ebx
jne 0x4b35d0
fld qword [esp + 0x44]
fmul qword [0x573718]
sub esp, 8
fadd qword [0x571968]
fstp qword [esp]
call fcn.00502c3a
add esp, 8
call fcn.00502d0c
mov byte [esp + 0x80], al
fld qword [esp + 0x44]
fcomp qword [0x571818]
mov dword [esp + 0x7c], ebx
fnstsw ax
test ah, 0x40
je 0x4b3618
mov eax, dword [esi + 4]
cmp dword [eax + 0x88], ebx
jne 0x4b3618
cmp dword [eax + 0x90], ebx
jne 0x4b3618
mov eax, dword [esi]
mov dword [esp + 0xac], 1
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx*4 + 0x5ca534]
mov dword [esp + 0xb0], edx
jmp 0x4b3645
mov eax, dword [esi + 4]
mov dword [esp + 0xac], ebx
mov ecx, dword [eax + 0x3c]
cmp ecx, ebx
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
jne 0x4b3637
mov eax, dword [edx*4 + 0x5ca544]
jmp 0x4b363e
mov eax, dword [edx*4 + 0x5ca554]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xb4], ebx
mov dword [esp + 0x54], ebx
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 4]
cmp ecx, ebx
jle 0x4b4005
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov ecx, eax
mov dword [esp + 0xbc], edx
push ecx
push edx
mov dword [esp + 0xc8], eax
call fcn.00502c3a
call fcn.00502d0c
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov eax, dword [ebx + 0x10]
mov edx, ecx
push edx
push eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
call fcn.00502c3a
call fcn.00502d0c
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x1c], eax
mov eax, edx
push eax
push ecx
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], edx
call fcn.00502c3a
call fcn.00502d0c
mov ebx, eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], ebx
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov ecx, eax
mov dword [esp + 0xe4], edx
push ecx
push edx
mov dword [esp + 0xf0], eax
call fcn.00502c3a
add esp, 0x20
call fcn.00502d0c
cmp ebx, eax
mov dword [esp + 0x10], eax
jne 0x4b37f6
mov ecx, dword [esp + 0xc]
cmp edi, ecx
jle 0x4b371f
mov eax, edi
mov edi, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 4]
push ebx
push eax
mov ecx, dword [ecx + 0x84]
push edi
call fcn.004bd370
cmp eax, 1
mov dword [esp + 0x30], eax
je 0x4b3faf
push ebx
lea edx, [esp + 0x68]
push edi
push edx
mov ecx, esi
call fcn.004b48d0
mov eax, dword [esp + 0x30]
test eax, eax
mov eax, dword [esp + 0xc]
jne 0x4b37a2
cmp edi, eax
jg 0x4b377d
sub eax, edi
inc eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x64]
mov ecx, esi
push eax
call fcn.004b40b0
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0x34], eax
jne 0x4b3766
cmp edi, dword [esi + 0xa8]
jge 0x4b378b
mov dword [esi + 0xa8], edi
cmp edi, dword [esi + 0xb0]
jle 0x4b3799
mov dword [esi + 0xb0], edi
mov ecx, dword [esp + 0xc]
jmp 0x4b3e15
cmp edi, eax
jg 0x4b3faf
mov edx, dword [esi + 4]
push ebx
push edi
mov ecx, dword [edx + 0x84]
call fcn.004bd210
test eax, eax
je 0x4b37dc
lea eax, [esp + 0x64]
mov ecx, esi
push eax
call fcn.004b40b0
push edi
mov ecx, esi
call fcn.004b4050
push ebx
mov ecx, esi
call fcn.004b4080
jmp 0x4b37e8
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.004b49c0
mov eax, dword [esp + 0xc]
inc edi
cmp edi, eax
jle 0x4b37aa
jmp 0x4b3faf
mov ecx, dword [esp + 0x40]
fld qword [ecx + 0x20]
fabs
fcomp qword [0x571818]
fnstsw ax
test ah, 0x41
jne 0x4b3e7e
fld qword [ecx + 0x10]
fsub qword [ecx]
mov edx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], edx
cmp ebx, ecx
mov dword [esp + 0x48], eax
fstp qword [esp + 0x34]
jle 0x4b3851
fld qword [esp + 0x34]
mov eax, ebx
mov ebx, ecx
mov dword [esp + 0x10], eax
mov eax, edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x24], ebx
fchs
fstp qword [esp + 0x34]
mov dword [esp + 0xc], eax
jmp 0x4b3855
mov eax, dword [esp + 0xc]
cmp edi, eax
mov ecx, eax
jle 0x4b385d
mov ecx, edi
cmp edi, eax
jg 0x4b3863
mov eax, edi
mov edx, dword [esp + 0x10]
push edx
push ecx
push ebx
push eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x84]
call fcn.004bd2b0
cmp eax, 1
mov dword [esp + 0x30], eax
je 0x4b3faf
fld qword [esp + 0x34]
fcomp qword [0x571800]
fild dword [esp + 0x24]
fadd qword [0x571818]
fnstsw ax
test ah, 0x41
mov eax, dword [esp + 0x40]
fsub qword [eax + 8]
fmul qword [esp + 0x44]
fadd qword [eax]
jne 0x4b3ba5
fstp qword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
call fcn.00502c3a
add esp, 8
call fcn.00502d0c
mov dword [esp + 0x20], eax
dec eax
cmp edi, eax
mov dword [esp + 0x14], eax
jle 0x4b38de
mov dword [esp + 0x14], edi
push ebx
lea eax, [esp + 0x68]
push edi
push eax
mov ecx, esi
call fcn.004b48d0
mov eax, dword [esp + 0x30]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x4b394c
cmp edi, eax
jg 0x4b391a
sub eax, edi
inc eax
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.004b40b0
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0x34], eax
jne 0x4b3903
cmp edi, dword [esi + 0xa8]
jge 0x4b3928
mov dword [esi + 0xa8], edi
cmp edi, dword [esi + 0xb0]
jle 0x4b3936
mov dword [esi + 0xb0], edi
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
call fcn.004b4050
push ebx
mov ecx, esi
call fcn.004b4080
jmp 0x4b3997
cmp edi, eax
jg 0x4b3997
mov eax, dword [esi + 4]
push ebx
push edi
mov ecx, dword [eax + 0x84]
call fcn.004bd210
test eax, eax
je 0x4b3982
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.004b40b0
push edi
mov ecx, esi
call fcn.004b4050
push ebx
mov ecx, esi
call fcn.004b4080
jmp 0x4b398e
lea edx, [esp + 0x64]
mov ecx, esi
push edx
call fcn.004b49c0
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jle 0x4b3950
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
inc ebx
dec eax
cmp ebx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], eax
jg 0x4b3abc
fild dword [esp + 0x14]
mov eax, dword [esp + 0x40]
fadd qword [0x571818]
fsub qword [eax + 8]
fmul qword [esp + 0x44]
fadd qword [eax]
fstp qword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.00502c3a
add esp, 8
call fcn.00502d0c
mov dword [esp + 0x20], eax
push ebx
lea eax, [esp + 0x68]
push edi
push eax
mov ecx, esi
call fcn.004b48d0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
test eax, eax
lea eax, [ecx - 1]
jne 0x4b3a59
cmp edi, eax
jg 0x4b3a26
sub eax, edi
inc eax
mov dword [esp + 0x24], eax
lea edx, [esp + 0x64]
mov ecx, esi
push edx
call fcn.004b40b0
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
jne 0x4b3a0f
cmp edi, dword [esi + 0xa8]
jge 0x4b3a34
mov dword [esi + 0xa8], edi
cmp edi, dword [esi + 0xb0]
jle 0x4b3a42
mov dword [esi + 0xb0], edi
mov eax, dword [esp + 0x20]
mov ecx, esi
dec eax
push eax
call fcn.004b4050
push ebx
mov ecx, esi
call fcn.004b4080
jmp 0x4b3aa7
cmp edi, eax
jg 0x4b3aa7
mov edx, dword [esi + 4]
push ebx
push edi
mov ecx, dword [edx + 0x84]
call fcn.004bd210
test eax, eax
je 0x4b3a8f
lea eax, [esp + 0x64]
mov ecx, esi
push eax
call fcn.004b40b0
push edi
mov ecx, esi
call fcn.004b4050
push ebx
mov ecx, esi
call fcn.004b4080
jmp 0x4b3a9b
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.004b49c0
mov edx, dword [esp + 0x20]
inc edi
lea eax, [edx - 1]
cmp edi, eax
jle 0x4b3a5d
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
inc ebx
cmp ebx, eax
mov dword [esp + 0x14], ebx
jle 0x4b39b1
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
cmp ecx, eax
mov dword [esp + 0x14], eax
jle 0x4b3ad0
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x68]
push ebx
push ecx
mov ecx, esi
call fcn.004b48d0
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4b3b47
mov eax, dword [esp + 0x14]
cmp ebx, eax
jg 0x4b3b0e
mov ecx, dword [esp + 0x20]
mov ebx, eax
sub ebx, ecx
inc ebx
lea edx, [esp + 0x64]
mov ecx, esi
push edx
call fcn.004b40b0
dec ebx
jne 0x4b3aff
cmp edi, dword [esi + 0xa8]
jge 0x4b3b1c
mov dword [esi + 0xa8], edi
cmp edi, dword [esi + 0xb0]
jle 0x4b3b2a
mov dword [esi + 0xb0], edi
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.004b4050
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004b4080
jmp 0x4b3faf
mov eax, dword [esp + 0x14]
mov edi, ebx
cmp ebx, eax
jg 0x4b3faf
mov ebx, dword [esp + 0x10]
mov edx, dword [esi + 4]
push ebx
push edi
mov ecx, dword [edx + 0x84]
call fcn.004bd210
test eax, eax
je 0x4b3b8b
lea eax, [esp + 0x64]
mov ecx, esi
push eax
call fcn.004b40b0
push edi
mov ecx, esi
call fcn.004b4050
push ebx
mov ecx, esi
call fcn.004b4080
jmp 0x4b3b97
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.004b49c0
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jle 0x4b3b59
jmp 0x4b3faf
fstp qword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
call fcn.00502c3a
add esp, 8
call fcn.00502d0c
mov dword [esp + 0x20], eax
inc eax
cmp eax, edi
mov dword [esp + 0x14], eax
jle 0x4b3bd1
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x14]
push ebx
lea edx, [esp + 0x68]
push ecx
push edx
mov ecx, esi
call fcn.004b48d0
mov eax, dword [esp + 0x30]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x4b3c45
cmp eax, edi
jg 0x4b3c17
mov ecx, edi
sub ecx, eax
inc ecx
mov dword [esp + 0x34], ecx
lea eax, [esp + 0x64]
mov ecx, esi
push eax
call fcn.004b40b0
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0x34], eax
jne 0x4b3bfc
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0xa8]
jge 0x4b3c25
mov dword [esi + 0xa8], eax
cmp eax, dword [esi + 0xb0]
jle 0x4b3c33
mov dword [esi + 0xb0], eax
push edi
mov ecx, esi
call fcn.004b4050
push ebx
mov ecx, esi
call fcn.004b4080
jmp 0x4b3ca0
cmp eax, edi
mov dword [esp + 0x24], eax
jg 0x4b3ca0
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 4]
push ebx
push ecx
mov ecx, dword [edx + 0x84]
call fcn.004bd210
test eax, eax
je 0x4b3c87
lea eax, [esp + 0x64]
mov ecx, esi
push eax
call fcn.004b40b0
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004b4050
push ebx
mov ecx, esi
call fcn.004b4080
jmp 0x4b3c93
lea edx, [esp + 0x64]
mov ecx, esi
push edx
call fcn.004b49c0
mov eax, dword [esp + 0x24]
inc eax
cmp eax, edi
mov dword [esp + 0x24], eax
jle 0x4b3c4d
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
inc ebx
lea eax, [ecx - 1]
mov dword [esp + 0x14], ebx
cmp ebx, eax
mov dword [esp + 0x34], eax
jg 0x4b3db7
fild dword [esp + 0x14]
mov eax, dword [esp + 0x40]
fadd qword [0x571818]
fsub qword [eax + 8]
fmul qword [esp + 0x44]
fadd qword [eax]
fstp qword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00502c3a
add esp, 8
call fcn.00502d0c
lea edi, [eax + 1]
push ebx
lea ecx, [esp + 0x68]
push edi
push ecx
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.004b48d0
mov eax, dword [esp + 0x30]
test eax, eax
mov eax, dword [esp + 0x24]
jne 0x4b3d53
cmp edi, eax
jg 0x4b3d35
sub eax, edi
inc eax
mov dword [esp + 0x14], eax
lea edx, [esp + 0x64]
mov ecx, esi
push edx
call fcn.004b40b0
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x4b3d1e
push edi
mov ecx, esi
call fcn.004b4050
mov eax, dword [esp + 0x24]
mov ecx, esi
push eax
call fcn.004b4050
push ebx
mov ecx, esi
call fcn.004b4080
jmp 0x4b3d9e
cmp edi, eax
jg 0x4b3d9e
mov ecx, dword [esi + 4]
push ebx
push edi
mov ecx, dword [ecx + 0x84]
call fcn.004bd210
test eax, eax
je 0x4b3d89
lea edx, [esp + 0x64]
mov ecx, esi
push edx
call fcn.004b40b0
push edi
mov ecx, esi
call fcn.004b4050
push ebx
mov ecx, esi
call fcn.004b4080
jmp 0x4b3d95
lea eax, [esp + 0x64]
mov ecx, esi
push eax
call fcn.004b49c0
mov eax, dword [esp + 0x24]
inc edi
cmp edi, eax
jle 0x4b3d57
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
inc ebx
mov dword [esp + 0x24], ecx
cmp ebx, eax
mov dword [esp + 0x14], ebx
jle 0x4b3cc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
mov dword [esp + 0x24], ecx
jle 0x4b3dcb
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
push ebx
lea edx, [esp + 0x68]
push edi
push edx
mov ecx, esi
call fcn.004b48d0
mov eax, dword [esp + 0x30]
test eax, eax
mov eax, dword [esp + 0x24]
jne 0x4b3e2a
cmp edi, eax
jg 0x4b3e09
mov ebx, eax
sub ebx, edi
inc ebx
lea eax, [esp + 0x64]
mov ecx, esi
push eax
call fcn.004b40b0
dec ebx
jne 0x4b3df6
mov ebx, dword [esp + 0x10]
push edi
mov ecx, esi
call fcn.004b4050
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004b4050
push ebx
mov ecx, esi
call fcn.004b4080
jmp 0x4b3faf
cmp edi, eax
jg 0x4b3faf
mov edx, dword [esi + 4]
push ebx
push edi
mov ecx, dword [edx + 0x84]
call fcn.004bd210
test eax, eax
je 0x4b3e64
lea eax, [esp + 0x64]
mov ecx, esi
push eax
call fcn.004b40b0
push edi
mov ecx, esi
call fcn.004b4050
push ebx
mov ecx, esi
call fcn.004b4080
jmp 0x4b3e70
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.004b49c0
mov eax, dword [esp + 0x24]
inc edi
cmp edi, eax
jle 0x4b3e32
jmp 0x4b3faf
mov edx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x10]
cmp ebx, edx
mov dword [esp + 0x48], eax
jle 0x4b3ea8
mov eax, edi
mov edi, dword [esp + 0xc]
mov ecx, ebx
mov dword [esp + 0xc], eax
mov ebx, edx
mov dword [esp + 0x10], ecx
jmp 0x4b3eac
mov eax, dword [esp + 0xc]
cmp edi, eax
mov ecx, eax
jle 0x4b3eb4
mov ecx, edi
cmp edi, eax
jg 0x4b3eba
mov eax, edi
mov edx, dword [esp + 0x10]
push edx
push ecx
push ebx
push eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x84]
call fcn.004bd2b0
cmp eax, 1
mov dword [esp + 0x30], eax
je 0x4b3faf
test eax, eax
je 0x4b3ef5
mov ecx, dword [esi + 4]
push ebx
push edi
mov ecx, dword [ecx + 0x84]
call fcn.004bd210
test eax, eax
je 0x4b3f1f
push ebx
lea edx, [esp + 0x68]
push edi
push edx
mov ecx, esi
call fcn.004b48d0
lea eax, [esp + 0x64]
mov ecx, esi
push eax
call fcn.004b40b0
push edi
mov ecx, esi
call fcn.004b4050
push ebx
mov ecx, esi
call fcn.004b4080
mov ecx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x14], ebx
lea eax, [ecx - 1]
cmp ebx, eax
jg 0x4b3f8d
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x40]
xor edx, edx
test eax, eax
sete dl
mov dword [esp + 0x34], edx
fild dword [esp + 0x14]
fsub qword [edi + 8]
fmul qword [esp + 0x44]
fadd qword [edi]
fstp qword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call fcn.00502c3a
add esp, 8
call fcn.00502d0c
mov edx, dword [esp + 0x34]
mov ecx, esi
push edx
push ebx
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004b4a40
mov ecx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x14], ebx
lea eax, [ecx - 1]
cmp ebx, eax
jle 0x4b3f42
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x10]
sete dl
push edx
push eax
lea edx, [esp + 0x6c]
push ecx
push edx
mov ecx, esi
call fcn.004b4a40
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x40]
add edi, 0x38
mov ecx, dword [esp + eax*4 + 0x58]
lea eax, [esp + eax*4 + 0x58]
inc ecx
mov dword [esp + 0x40], edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov edx, dword [ecx + 4]
inc eax
cmp eax, edx
mov dword [esp + 0x54], eax
jl 0x4b3665
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x4b4011
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4b4005
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x4b4011
mov dword [esi + 0xb8], 0
jmp 0x4b401b
mov dword [esi + 0xb8], 1
jmp 0x4b401b
mov dword [esi + 0xb8], 2
mov esi, dword [esp + 0x50]
test esi, esi
je 0x4b4033
mov ecx, esi
call fcn.004e37e0
push esi
call fcn.0055d27b
add esp, 4
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4