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

Disassembly:
push 0xffffffffffffffff
push 0x52e408
mov eax, dword fs:[0]
push eax
sub esp, 0x920
mov eax, dword [0x568fd0]
xor eax, esp
mov dword [esp + 0x918], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0x934]
mov dword fs:[0], eax
mov eax, dword [esp + 0x94c]
mov ebx, dword [esp + 0x944]
mov esi, dword [esp + 0x954]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x950]
lea edi, [ebx + 0x5c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x6c], edi
call fcn.004ad640
lea ecx, [esp + 0x84]
push ecx
mov edi, esi
call fcn.004af490
xor ebp, ebp
mov dword [esp + 0x93c], ebp
cmp dword [esp + 0x774], 1
mov dword [esp + 0x6dc], ebp
mov dword [esp + 0x18], 0xffffffff
jne 0x4bdba7
cmp dword [esp + 0x778], ebp
jle 0x4bdba7
mov dword [esp + 0x18], ebp
jmp 0x4bdbae
mov dword [esp + 0x778], ebp
mov eax, 1
cmp dword [esp + 0x788], eax
jne 0x4bdbcb
cmp dword [esp + 0x78c], ebp
jle 0x4bdbcb
mov dword [esp + 0x18], eax
jmp 0x4bdbd2
mov dword [esp + 0x78c], ebp
cmp dword [esp + 0x79c], eax
jne 0x4bdbee
cmp dword [esp + 0x7a0], ebp
jle 0x4bdbee
mov dword [esp + 0x18], 2
jmp 0x4bdbf5
mov dword [esp + 0x7a0], ebp
cmp dword [esp + 0x7b0], eax
jne 0x4bdc11
cmp dword [esp + 0x7b4], ebp
jle 0x4bdc11
mov dword [esp + 0x18], 3
jmp 0x4bdc18
mov dword [esp + 0x7b4], ebp
cmp dword [esp + 0x7c4], eax
jne 0x4bdc34
cmp dword [esp + 0x7c8], ebp
jle 0x4bdc34
mov dword [esp + 0x18], 4
jmp 0x4bdc3b
mov dword [esp + 0x7c8], ebp
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x7e4], edx
mov eax, 0x100
mov dword [esp + 0x718], eax
mov dword [esp + 0x71c], eax
mov edx, ecx
sub edx, dword [esp + 0xc8]
mov eax, 0x38e38e39
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
mov dword [esp + 0x7d8], ebp
mov dword [esp + 0x7f0], ebp
mov byte [esp + 0x708], 0
mov byte [esp + 0x700], 0
mov byte [esp + 0x730], 0
mov byte [esp + 0x728], 0
mov byte [esp + 0x800], 0
mov byte [esp + 0x801], 0
mov byte [esp + 0x838], 0
mov byte [esp + 0x840], 0
je 0x4bde7b
xor edi, edi
mov edx, dword [ebx + 8]
cmp edx, 1
jne 0x4bddbb
cmp esi, eax
jb 0x4bdced
call fcn.00501daa
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc8]
sub ecx, eax
lea ebx, [edi + eax]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4bdd13
call fcn.00501daa
mov ecx, dword [ebx + 0x2c]
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.004bda40
mov eax, dword [eax]
mov ecx, dword [esp + 0xd0]
mov dword [edi + ecx + 0x2c], eax
mov ebp, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd0]
mov ecx, ebp
sub ecx, ebx
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 8
cmp esi, eax
jb 0x4bdd6b
call fcn.00501daa
mov ebp, dword [esp + 0xcc]
mov ebx, dword [esp + 0xc8]
sub ebp, ebx
mov eax, 0x38e38e39
imul ebp
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [edi + ebx]
mov dword [esp + 0x3c], ecx
cmp esi, eax
jb 0x4bdd95
call fcn.00501daa
mov ebx, dword [esp + 0xc8]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x30]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.004bda40
mov ecx, dword [eax]
add esp, 8
mov dword [edi + ebx + 0x30], ecx
mov ebx, dword [esp + 0x38]
xor ebp, ebp
jmp 0x4bde4e
cmp edx, 2
jne 0x4bde0d
cmp esi, eax
jb 0x4bddc9
call fcn.00501daa
mov edx, dword [esp + 0xc8]
mov dword [edi + edx + 0x2c], ebp
mov ecx, dword [esp + 0xcc]
sub ecx, dword [esp + 0xc8]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4bddfc
call fcn.00501daa
mov ecx, dword [esp + 0xc8]
mov dword [edi + ecx + 0x30], 0xffffff
jmp 0x4bde4e
cmp edx, 3
jne 0x4bde2c
cmp esi, eax
jb 0x4bde1b
call fcn.00501daa
mov edx, dword [esp + 0xc8]
mov dword [edi + edx + 0x30], 0xffffff
jmp 0x4bde4e
cmp edx, 4
jne 0x4bde55
cmp esi, 0x20
ja 0x4bde55
cmp esi, eax
jb 0x4bde3f
call fcn.00501daa
mov eax, dword [esp + 0xc8]
mov dword [edi + eax + 0x30], 0xffffff
mov ecx, dword [esp + 0xcc]
mov edx, ecx
sub edx, dword [esp + 0xc8]
mov eax, 0x38e38e39
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add edi, 0x48
cmp esi, eax
jb 0x4bdcd1
sub ecx, dword [esp + 0xc8]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x21
ja 0x4bde9d
call fcn.00501daa
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov dword [edx + 0x978], 0xffffff
mov eax, dword [ebx + 0x2c8]
mov dword [esp + 0x768], ebp
mov dword [esp + 0x76c], ebp
mov ecx, dword [eax + 0x1f4]
push ecx
push esi
lea edx, [esp + 0x8c]
push edx
call fcn.004b0190
mov edi, dword [esp + 0x18]
cmp edi, ebp
mov dword [esp + 0x48], ebp
jl 0x4bdf5f
mov ecx, dword [esp + 0xcc]
sub ecx, dword [esp + 0xc8]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x21
ja 0x4bdf14
call fcn.00501daa
mov eax, dword [esp + 0xc8]
mov edx, dword [esi]
mov edx, dword [edx + 0x60]
push 8
push str.99999
add eax, 0x988
push eax
mov ecx, esi
call edx
call fcn.00505040
mov edx, dword [ebx + 0x2c8]
lea ecx, [edi + edi*4]
mov dword [esp + ecx*4 + 0x778], eax
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x1f4]
push eax
push esi
lea ecx, [esp + 0x8c]
push ecx
call fcn.004b0190
mov eax, dword [ebx + 0x2c8]
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0x28]
mov edx, dword [eax + 4]
mov edx, dword [edx + 0x14]
add eax, 4
push ecx
push eax
call edx
mov esi, eax
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0xc]
cdq
idiv dword [esp + 0x6e0]
lea edi, [eax + esi - 1]
cmp edi, esi
mov dword [esp + 0x34], edi
jge 0x4bdf9b
mov edi, esi
mov dword [esp + 0x34], esi
mov eax, dword [ebx + 0x2c8]
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 0x2c]
mov ecx, dword [eax + 4]
add eax, 4
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp edi, eax
jle 0x4bdfbf
mov edi, eax
mov dword [esp + 0x34], edi
mov eax, dword [ebx + 0x2c8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
add eax, 4
push eax
call edx
mov ecx, dword [ebx + 0x2c8]
mov edx, dword [ecx + 0x70]
mov ecx, dword [edx + 8]
dec ecx
cmp edi, ecx
jge 0x4bdff6
mov eax, dword [ebx + 0x2c8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
add eax, 4
inc edi
push edi
push eax
call edx
push eax
mov eax, ebx
mov eax, dword [eax + 0x2c8]
call fcn.004a0bc0
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x7d8]
lea edi, [eax + ecx]
mov dword [esp + 0x68], edi
mov edi, dword [edx + 0xc]
mov dword [esp + 0x1c], edi
mov edi, dword [edx + 0x28]
mov edx, dword [edx + 0x10]
sub edx, eax
sub edx, ecx
mov ecx, dword [esp + 0x38]
mov ebx, esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x3c], edx
cmp dword [ecx + 0xc], ebp
jne 0x4be04d
mov dword [esp + 0x3c], 0x7ffffff
cmp esi, dword [esp + 0x34]
jg 0x4be774
jmp 0x4be064
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp eax, dword [edx + 0x14]
jge 0x4be774
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0x84]
call eax
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x2c8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
add eax, 4
push ebx
push eax
call edx
mov edi, 1
sub edi, eax
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 4]
lea ecx, [ebx + 1]
add eax, 4
push ecx
push eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x5c], ecx
call eax
fldz
mov esi, eax
fstp dword [esp + 0x8bc]
or eax, 0xffffffff
add esi, edi
cmp esi, eax
mov dword [esp + 0x86c], 0x55516c
mov dword [esp + 0x870], ebp
mov dword [esp + 0x874], ebp
mov dword [esp + 0x878], eax
mov byte [esp + 0x87c], 0
mov dword [esp + 0x880], eax
mov dword [esp + 0x884], ebp
mov dword [esp + 0x888], ebp
mov dword [esp + 0x88c], ebp
mov dword [esp + 0x890], ebp
mov byte [esp + 0x894], 0
mov byte [esp + 0x895], 0
mov dword [esp + 0x898], ebp
mov dword [esp + 0x89c], ebp
mov dword [esp + 0x8a0], ebp
mov dword [esp + 0x8a4], ebp
mov dword [esp + 0x8ac], ebp
mov dword [esp + 0x8b0], ebp
mov dword [esp + 0x8b4], 0x7ffffff
mov dword [esp + 0x8b8], 1
mov byte [esp + 0x8a8], 0
mov byte [esp + 0x8a9], 0
jle 0x4be220
push ebp
call fcn.005026cd
mov ecx, dword [esp + 0x8a4]
add esp, 4
push ecx
mov dword [esp + 0x8a0], ebp
call fcn.005026cd
mov edx, dword [esp + 0x8a8]
add esp, 4
push edx
mov dword [esp + 0x8a4], ebp
call fcn.005026cd
mov eax, dword [esp + 0x874]
add esp, 4
push eax
mov dword [esp + 0x8a8], ebp
call fcn.005026cd
add esp, 4
lea edi, [esi + 1]
push edi
mov dword [esp + 0x874], ebp
call fcn.004f0933
add esp, 4
push edi
mov dword [esp + 0x8a0], eax
call fcn.004f0933
mov dword [esp + 0x8a4], eax
xor ecx, ecx
add esp, 4
lea eax, [esi + 2]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f0933
add esp, 4
mov dword [esp + 0x8a4], eax
mov dword [esp + 0x880], esi
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x870]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x8c]
push edx
mov edx, dword [esp + 0x44]
push eax
push ebx
push ecx
push edx
mov byte [esp + 0x958], 1
call fcn.004b6270
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x6e0]
add eax, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
dec edx
mov dword [esp + 0x70], edx
mov byte [esp + 0x895], 0
fstp dword [esp + 0x58]
fild dword [esp + 0x1c]
fstp dword [esp + 0x5c]
fild dword [esp + 0x70]
fstp dword [esp + 0x60]
fild dword [esp + 0x4c]
fstp dword [esp + 0x64]
cmp dword [esp + 0x18], ebp
jne 0x4be377
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x2c8]
mov ecx, dword [esp + 0x40]
mov edx, dword [eax + 4]
mov edx, dword [edx + 0x18]
add eax, 4
push ecx
push eax
call edx
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x8b8]
mov edi, dword [esp + 0x870]
sub edx, eax
lea esi, [ebx - 1]
xor eax, eax
cmp esi, ebp
jle 0x4be345
mov dword [esp + 0x2c], ebp
cmp eax, ebp
jg 0x4be2ec
xor ecx, ecx
jmp 0x4be300
cmp eax, ebx
jge 0x4be2f9
cmp edi, ebp
je 0x4be2f9
mov ecx, dword [edi + eax*4]
jmp 0x4be300
mov ecx, dword [esp + 0x884]
cmp ecx, edx
jg 0x4be33c
lea ecx, [eax + 1]
cmp ecx, ebp
jg 0x4be30f
xor ecx, ecx
jmp 0x4be330
cmp ecx, dword [esp + 0x8b8]
jge 0x4be322
cmp edi, ebp
je 0x4be322
mov ecx, dword [edi + eax*4 + 4]
jmp 0x4be329
mov ecx, dword [esp + 0x884]
mov ebx, dword [esp + 0x8b8]
cmp ecx, edx
jl 0x4be33c
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
dec dword [esp + 0x2c]
inc eax
cmp eax, esi
jl 0x4be2e4
cmp ebx, 1
jle 0x4be377
cmp esi, ebp
jg 0x4be352
xor eax, eax
jmp 0x4be366
cmp esi, ebx
jge 0x4be35f
cmp edi, ebp
je 0x4be35f
mov eax, dword [edi + esi*4]
jmp 0x4be366
mov eax, dword [esp + 0x884]
cmp edx, eax
jl 0x4be377
mov eax, 1
sub eax, ebx
mov dword [esp + 0x18], eax
jmp 0x4be37b
mov eax, dword [esp + 0x18]
cmp byte [esp + 0x948], 0
je 0x4be599
cmp dword [esp + 0x48], ebp
je 0x4be599
mov ecx, dword [esp + 0x6e0]
mov edx, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esp + 0x20]
cmp edx, dword [ecx + 0x14]
jg 0x4be599
cmp eax, ebp
jl 0x4be599
mov edx, dword [esp + 0x54]
push edx
lea eax, [esp + 0x8c8]
push str._d
push eax
call fcn.00502582
fild dword [esp + 0x54]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
fadd dword [esp + 0x64]
lea eax, [esp + 0x8d0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], edx
fstp dword [esp + 0x88]
add esp, 0xc
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4be400
sub eax, ecx
mov ecx, dword [esp + 0xcc]
sub ecx, dword [esp + 0xc8]
mov esi, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x21
ja 0x4be434
call fcn.00501daa
mov ecx, dword [esp + 0x30]
fld dword [esp + 0x7c]
mov edx, dword [ecx]
fstp qword [esp + 0x4c]
mov edx, dword [edx + 0x60]
push esi
lea eax, [esp + 0x8c8]
push eax
mov eax, dword [esp + 0xd0]
add eax, 0x988
push eax
call edx
fsubr qword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov edx, dword [eax + 0x84]
fstp dword [esp + 0x74]
call edx
lea eax, [esp + 0x8c4]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4be480
mov esi, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc8]
sub eax, edx
mov ebx, eax
mov edx, esi
sub edx, ecx
mov eax, 0x38e38e39
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x21
ja 0x4be4c6
call fcn.00501daa
mov esi, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc8]
mov edx, esi
sub edx, ecx
mov eax, 0x38e38e39
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ebp, [ecx + 0x948]
cmp eax, 0x21
ja 0x4be4f9
call fcn.00501daa
mov esi, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc8]
sub esi, ecx
mov eax, 0x38e38e39
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edi, [ecx + 0x948]
cmp eax, 0x21
ja 0x4be523
call fcn.00501daa
mov ecx, dword [esp + 0xc8]
mov eax, dword [ebp + 0x30]
mov edx, dword [esp + 0x44]
mov esi, dword [edx]
push eax
mov eax, dword [edi + 0x2c]
mov edi, dword [esp + 0x20]
push eax
lea eax, [esp + 0x8cc]
push ebx
push eax
mov eax, dword [esp + 0x6f8]
add eax, edi
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
test eax, eax
jge 0x4be559
fadd dword [0x556040]
push ecx
add ecx, 0x988
fstp dword [esp]
push ecx
mov ecx, dword [esp + 0x8c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0xc], ecx
mov ecx, edx
mov edx, dword [esi + 0x50]
call edx
xor ebp, ebp
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov edx, dword [eax + 0x84]
call edx
mov edx, dword [esp + 0x8b8]
xor esi, esi
cmp edx, ebp
jle 0x4be6f3
mov edi, dword [esp + 0x870]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x6e0]
add eax, ecx
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx + 0x14]
mov dword [esp + 0x4c], eax
jg 0x4be6ea
cmp dword [esp + 0x18], ebp
jl 0x4be672
cmp byte [esp + 0x948], 0
je 0x4be667
fild dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
fstp dword [esp + 0x6c]
fild dword [esp + 0x5c]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [eax + 4], ecx
push 0x1ff
fstp dword [esp + 0x78]
mov ecx, dword [esp + 0x78]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x7c]
push esi
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
lea edi, [esp + 0x898]
lea eax, [esp + 0xb0]
mov ecx, ebx
call fcn.004bc7b0
mov edx, dword [esp + 0x8b8]
mov edi, dword [esp + 0x870]
mov ecx, dword [esp + 0x6e0]
add dword [esp + 0x1c], ecx
inc dword [esp + 0x18]
lea eax, [edx - 1]
cmp esi, eax
jne 0x4be6a8
mov eax, dword [ebx + 0x2c8]
mov edx, dword [esp + 0x54]
mov ecx, dword [eax + 4]
add eax, 4
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov edx, dword [esp + 0x8b8]
mov edi, dword [esp + 0x870]
mov dword [esp + 0x28], eax
jmp 0x4be6ea
lea eax, [esi + 1]
cmp eax, ebp
jg 0x4be6b3
xor ecx, ecx
jmp 0x4be6c8
cmp eax, edx
jge 0x4be6c1
cmp edi, ebp
je 0x4be6c1
mov ecx, dword [edi + esi*4 + 4]
jmp 0x4be6c8
mov ecx, dword [esp + 0x884]
cmp esi, ebp
jg 0x4be6d0
xor eax, eax
jmp 0x4be6e4
cmp esi, edx
jge 0x4be6dd
cmp edi, ebp
je 0x4be6dd
mov eax, dword [edi + esi*4]
jmp 0x4be6e4
mov eax, dword [esp + 0x884]
sub ecx, eax
add dword [esp + 0x28], ecx
inc esi
cmp esi, edx
jl 0x4be5c3
mov esi, dword [esp + 0x54]
mov byte [esp + 0x93c], 0
mov ecx, dword [esp + 0x89c]
push ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x870], 0x55516c
call fcn.005026cd
mov edx, dword [esp + 0x8a4]
add esp, 4
push edx
mov dword [esp + 0x8a0], ebp
call fcn.005026cd
mov eax, dword [esp + 0x8a8]
add esp, 4
push eax
mov dword [esp + 0x8a4], ebp
call fcn.005026cd
mov ecx, dword [esp + 0x874]
add esp, 4
push ecx
mov dword [esp + 0x8a8], ebp
call fcn.005026cd
add esp, 4
cmp esi, dword [esp + 0x34]
mov dword [esp + 0x870], ebp
jle 0x4be060
mov edi, dword [esp + 0x6c]
call fcn.004ad640
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x940], 0xffffffff
call fcn.004afb80
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x934]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x918]
xor ecx, esp
call fcn.00501b9a
add esp, 0x92c
ret 0x14