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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a507e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3a4
push esi
push edi
mov ecx, dword [ebp + 0xc]
call fcn.00490eba
fstp qword [ebp - 0x394]
mov ecx, dword [ebp + 8]
call fcn.004a378f
fcomp qword [ebp - 0x394]
fnstsw ax
test ah, 1
je 0x4bddf9
xor eax, eax
jmp 0x4be9be
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 0x30]
push edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + 0x11c]
push ecx
call fcn.0049e8a3
add esp, 0xc
test eax, eax
jne 0x4bde25
xor eax, eax
jmp 0x4be9be
mov ecx, dword [ebp + 8]
call fcn.004a34eb
fstp qword [ebp - 0x39c]
mov ecx, dword [ebp + 0xc]
call fcn.004909d2
fdivr qword [ebp - 0x39c]
call fcn.0052f834
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jne 0x4bde5c
xor eax, eax
jmp 0x4be9be
mov dword [ebp - 0xec], 0
lea ecx, [ebp - 0xb8]
call fcn.00499d8e
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004bf2d0
mov dword [ebp - 0x5c], 0x5b2cb4
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x1c]
push edx
fild dword [ebp - 0xec]
sub esp, 8
fstp qword [esp]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bd80f
add esp, 0x20
lea ecx, [ebp - 0xb8]
call fcn.00499f5f
cmp dword [ebp - 0xec], eax
jbe 0x4bdedb
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x3a0], edx
jmp 0x4bdeec
lea ecx, [ebp - 0xb8]
call fcn.00499f5f
mov dword [ebp - 0x3a0], eax
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0xa4]
call fcn.00499d8e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe8]
call fcn.004bf2d0
mov dword [ebp - 0xe8], 0x5b2cb4
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x1c]
cmp dword [ecx + 4], 4
jl 0x4be3f2
mov esi, dword [ebp + 8]
mov ecx, 0xe
lea edi, [ebp - 0x2e4]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x2e4]
push edx
call fcn.004c816c
add esp, 4
mov ecx, 6
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x2ac]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x2ac], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x2a8], edx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x2a4]
mov edx, dword [eax + 8]
mov dword [ecx], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x29c]
mov eax, dword [ecx + 0x10]
mov dword [edx], eax
mov ecx, dword [ecx + 0x14]
mov dword [edx + 4], ecx
mov edx, dword [ebp + 0x10]
add edx, 0x18
push edx
lea ecx, [ebp - 0x294]
call fcn.004535f4
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x10]
add eax, 0x28
push eax
lea ecx, [ebp - 0x284]
call fcn.0057cd53
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x10]
add ecx, 0x2c
push ecx
lea ecx, [ebp - 0x280]
call fcn.0057cd53
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp + 0x10]
mov dl, byte [ecx + 0x34]
mov byte [ebp - 0x278], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [eax + 0x35]
mov byte [ebp - 0x277], cl
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x274]
mov ecx, dword [edx + 0x38]
mov dword [eax], ecx
mov edx, dword [edx + 0x3c]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x26c]
mov edx, dword [eax + 0x40]
mov dword [ecx], edx
mov eax, dword [eax + 0x44]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x264]
mov eax, dword [ecx + 0x48]
mov dword [edx], eax
mov ecx, dword [ecx + 0x4c]
mov dword [edx + 4], ecx
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x25c]
mov ecx, dword [edx + 0x50]
mov dword [eax], ecx
mov edx, dword [edx + 0x54]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x254]
mov edx, dword [eax + 0x58]
mov dword [ecx], edx
mov eax, dword [eax + 0x5c]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x24c]
mov eax, dword [ecx + 0x60]
mov dword [edx], eax
mov ecx, dword [ecx + 0x64]
mov dword [edx + 4], ecx
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x244]
mov ecx, dword [edx + 0x68]
mov dword [eax], ecx
mov edx, dword [edx + 0x6c]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x23c]
mov edx, dword [eax + 0x70]
mov dword [ecx], edx
mov eax, dword [eax + 0x74]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x234]
mov eax, dword [ecx + 0x78]
mov dword [edx], eax
mov ecx, dword [ecx + 0x7c]
mov dword [edx + 4], ecx
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2ac]
push edx
call fcn.004c81e9
add esp, 4
mov ecx, 6
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x22c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x22c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x228], edx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x224]
mov edx, dword [eax + 8]
mov dword [ecx], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x21c]
mov eax, dword [ecx + 0x10]
mov dword [edx], eax
mov ecx, dword [ecx + 0x14]
mov dword [edx + 4], ecx
mov esi, dword [ebp + 0xc]
add esi, 0x18
lea edi, [ebp - 0x214]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x214]
mov ecx, dword [edx + 0x18]
mov dword [eax], ecx
mov edx, dword [edx + 0x1c]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x20c]
mov edx, dword [eax + 0x20]
mov dword [ecx], edx
mov eax, dword [eax + 0x24]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x204]
mov eax, dword [ecx + 0x28]
mov dword [edx], eax
mov ecx, dword [ecx + 0x2c]
mov dword [edx + 4], ecx
mov edx, dword [ebp + 0xc]
add edx, 0x30
push edx
lea ecx, [ebp - 0x1fc]
call fcn.004535f4
mov byte [ebp - 4], 7
mov eax, dword [ebp + 0xc]
add eax, 0x40
push eax
lea ecx, [ebp - 0x1ec]
call fcn.0057cd53
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0xc]
add ecx, 0x44
push ecx
lea ecx, [ebp - 0x1e8]
call fcn.0057cd53
mov byte [ebp - 4], 9
mov edx, dword [ebp + 0xc]
mov al, byte [edx + 0x48]
mov byte [ebp - 0x1e4], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ecx + 0x49]
mov byte [ebp - 0x1e3], dl
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1dc]
mov edx, dword [eax + 0x50]
mov dword [ecx], edx
mov eax, dword [eax + 0x54]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x1d4]
mov eax, dword [ecx + 0x58]
mov dword [edx], eax
mov ecx, dword [ecx + 0x5c]
mov dword [edx + 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x60]
mov dword [ebp - 0x1cc], eax
mov esi, dword [ebp + 0xc]
add esi, 0x64
lea edi, [ebp - 0x1c8]
mov ecx, 0x24
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
add esi, 0xf8
lea edi, [ebp - 0x134]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x134]
mov eax, dword [ecx + 0xf8]
mov dword [edx], eax
mov ecx, dword [ecx + 0xfc]
mov dword [edx + 4], ecx
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x12c]
mov ecx, dword [edx + 0x100]
mov dword [eax], ecx
mov edx, dword [edx + 0x104]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x124]
mov edx, dword [eax + 0x108]
mov dword [ecx], edx
mov eax, dword [eax + 0x10c]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x11c]
mov eax, dword [ecx + 0x110]
mov dword [edx], eax
mov ecx, dword [ecx + 0x114]
mov dword [edx + 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x118]
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp + 0xc]
mov dl, byte [ecx + 0x11c]
mov byte [ebp - 0x110], dl
mov eax, dword [ebp + 0xc]
add eax, 0x120
lea ecx, [ebp - 0x10c]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x300], 4
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x304], ecx
mov edx, dword [ebp + 0xc]
add edx, 0x130
mov dword [ebp - 0x2fc], edx
mov eax, dword [ebp - 0x2fc]
push eax
mov ecx, dword [ebp - 0x304]
call fcn.0057cd53
mov ecx, dword [ebp - 0x304]
add ecx, 4
mov dword [ebp - 0x304], ecx
mov edx, dword [ebp - 0x2fc]
add edx, 4
mov dword [ebp - 0x2fc], edx
mov eax, dword [ebp - 0x300]
sub eax, 1
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
ja 0x4be2e2
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x22c]
push ecx
call fcn.004c7fe6
add esp, 4
mov edx, dword [ebp + 0x1c]
push edx
fild dword [ebp - 0xec]
sub esp, 8
fstp qword [esp]
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x2ac]
push edx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x2e4]
push ecx
call fcn.004bd80f
add esp, 0x20
lea ecx, [ebp - 0xa4]
call fcn.00499f5f
cmp dword [ebp - 0xec], eax
jbe 0x4be399
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x3a4], edx
jmp 0x4be3aa
lea ecx, [ebp - 0xa4]
call fcn.00499f5f
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.004c8228
add esp, 4
lea edx, [ebp - 0xe8]
push edx
call fcn.004c82ba
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x22c]
call fcn.0048fed0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2ac]
call fcn.004967cb
lea ecx, [ebp - 0x84]
call fcn.00499d8e
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
call fcn.004bf2d0
mov dword [ebp - 0x70], 0x5b2cb4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xcc]
call fcn.004bf6b0
mov dword [ebp - 0xcc], 0x5b3ef4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x48]
call fcn.0049c697
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x34]
call fcn.00499d8e
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x20]
call fcn.004beaa0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x34]
call fcn.004d9d40
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00479d70
sub esp, 0x3c
mov edx, esp
mov dword [ebp - 0x2ec], esp
mov dword [ebp - 0x308], edx
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x308]
call fcn.004bef20
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x308]
add ecx, 0x14
call fcn.0045e130
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x308]
add ecx, 0x28
call fcn.0047f300
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x3a8], eax
lea ecx, [ebp - 0xcc]
call fcn.004bfab0
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004d9d40
lea edx, [ebp - 0xe8]
push edx
lea ecx, [ebp - 0x20]
call fcn.00479d70
sub esp, 0x3c
mov eax, esp
mov dword [ebp - 0x2f0], esp
mov dword [ebp - 0x30c], eax
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x30c]
call fcn.004bef20
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x30c]
add ecx, 0x14
call fcn.0045e130
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x30c]
add ecx, 0x28
call fcn.0047f300
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x30c]
mov dword [ebp - 0x3ac], ecx
lea ecx, [ebp - 0xcc]
call fcn.004bfab0
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x34]
call fcn.004d9d40
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x20]
call fcn.00479d70
sub esp, 0x3c
mov ecx, esp
mov dword [ebp - 0x2f4], esp
mov dword [ebp - 0x310], ecx
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x310]
call fcn.004bef20
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x310]
add ecx, 0x14
call fcn.0045e130
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x310]
add ecx, 0x28
call fcn.0047f300
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x310]
mov dword [ebp - 0x3b0], edx
lea ecx, [ebp - 0xcc]
call fcn.004bfab0
mov dword [ebp - 0x8c], 0
jmp 0x4be5f5
mov eax, dword [ebp - 0x8c]
add eax, 1
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x314], ecx
mov edx, dword [ebp - 0x8c]
cmp edx, dword [ebp - 0x314]
jge 0x4be715
mov eax, dword [ebp - 0x8c]
add eax, 1
mov dword [ebp - 0x2e8], eax
jmp 0x4be633
mov ecx, dword [ebp - 0x2e8]
add ecx, 1
mov dword [ebp - 0x2e8], ecx
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0x318], edx
mov eax, dword [ebp - 0x2e8]
cmp eax, dword [ebp - 0x318]
jge 0x4be710
mov ecx, dword [ebp - 0x2e8]
imul ecx, ecx, 0x3c
mov edx, dword [ebp - 0xc8]
add edx, ecx
mov dword [ebp - 0x31c], edx
mov eax, dword [ebp - 0x8c]
imul eax, eax, 0x3c
mov ecx, dword [ebp - 0xc8]
lea ecx, [ecx + eax + 0x14]
call fcn.00499f5f
mov esi, eax
mov ecx, dword [ebp - 0x31c]
add ecx, 0x14
call fcn.00499f5f
cmp esi, eax
jae 0x4be70b
mov edx, dword [ebp - 0x2e8]
imul edx, edx, 0x3c
mov eax, dword [ebp - 0xc8]
add eax, edx
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x8c]
imul ecx, ecx, 0x3c
mov edx, dword [ebp - 0xc8]
add edx, ecx
mov dword [ebp - 0x35c], edx
mov eax, dword [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x358]
call fcn.004bed20
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x360]
push ecx
mov ecx, dword [ebp - 0x35c]
call fcn.004c1080
lea edx, [ebp - 0x358]
push edx
mov ecx, dword [ebp - 0x360]
call fcn.004c1080
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x358]
call fcn.004bebe0
jmp 0x4be624
jmp 0x4be5e6
xor eax, eax
imul eax, eax, 0x3c
mov ecx, dword [ebp - 0xc8]
lea ecx, [ecx + eax + 0x14]
call fcn.00499f5f
mov dword [ebp - 0x90], eax
xor edx, edx
imul edx, edx, 0x3c
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + edx + 0x1c]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 1
jmp 0x4be769
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x364], eax
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [ebp - 0x364]
jge 0x4be7f6
mov edx, dword [ebp - 0x8c]
imul edx, edx, 0x3c
mov eax, dword [ebp - 0xc8]
lea ecx, [eax + edx + 0x14]
call fcn.00499f5f
cmp eax, dword [ebp - 0x90]
jae 0x4be7a5
jmp 0x4be7f6
mov ecx, dword [ebp - 0x8c]
imul ecx, ecx, 0x3c
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + ecx + 0x1c]
mov dword [ebp - 0x368], eax
mov ecx, dword [ebp - 0x368]
cmp ecx, dword [ebp - 0xd0]
jge 0x4be7f1
mov edx, dword [ebp - 0x8c]
imul edx, edx, 0x3c
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + edx + 0x1c]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x88], edx
jmp 0x4be75a
mov eax, dword [ebp - 0x88]
imul eax, eax, 0x3c
mov ecx, dword [ebp - 0xc8]
lea edx, [ecx + eax + 0x14]
mov dword [ebp - 0x36c], edx
mov eax, dword [ebp - 0x36c]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0045e960
mov ecx, dword [ebp - 0x88]
imul ecx, ecx, 0x3c
mov edx, dword [ebp - 0xc8]
lea eax, [edx + ecx + 0x28]
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x370]
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.00481510
mov dword [ebp - 0x2f8], 1
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0x20]
mov dword [ebp - 0x374], edx
mov ecx, dword [ebp - 0x374]
call fcn.004798f0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x34]
call fcn.00499de8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x48]
call fcn.00465810
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xcc]
call fcn.004c0b10
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
call fcn.004798f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.00499de8
mov byte [ebp - 4], 2
mov dword [ebp - 0xe8], 0x5b2cd8
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0xe4], 0
je 0x4be924
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x37c], ecx
jmp 0x4be8ee
mov edx, dword [ebp - 0x37c]
add edx, 0x38
mov dword [ebp - 0x37c], edx
mov eax, dword [ebp - 0x380]
mov ecx, dword [ebp - 0x380]
sub ecx, 1
mov dword [ebp - 0x380], ecx
test eax, eax
je 0x4be909
jmp 0x4be8df
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0x378], edx
mov eax, dword [ebp - 0x378]
push eax
call fcn.0057d665
add esp, 4
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.00499de8
mov byte [ebp - 4], 0
mov dword [ebp - 0x5c], 0x5b2cd8
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0x58], 0
je 0x4be9a2
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x38c], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x388], edx
jmp 0x4be96f
mov eax, dword [ebp - 0x388]
add eax, 0x38
mov dword [ebp - 0x388], eax
mov ecx, dword [ebp - 0x38c]
mov edx, dword [ebp - 0x38c]
sub edx, 1
mov dword [ebp - 0x38c], edx
test ecx, ecx
je 0x4be98a
jmp 0x4be960
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x384], eax
mov ecx, dword [ebp - 0x384]
push ecx
call fcn.0057d665
add esp, 4
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.00499de8
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret