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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x28], esi
mov edx, dword [esi]
mov eax, dword [esi + 4]
movzx ecx, byte [esi + 0x30]
mov dword [esp + 0x40], eax
sub ecx, 1
mov edi, dword [edx + 8]
mov eax, dword [edx]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edx
mov eax, dword [edi + 0x74]
mov dword [esp + 0x44], eax
lea eax, [edi + 0xc]
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], ecx
js 0x503dea
jmp 0x503444
mov edx, dword [esp + 0x20]
imul eax, ecx, 0x58
add esi, 0x300
add esi, eax
mov dword [esp + 0x14], esi
cmp byte [esi + 0x39], 0xb6
mov ebx, dword [esi + 0x4c]
mov dword [esp + 0x1c], ebx
je 0x50377d
mov eax, dword [esp + 0x28]
xor ebx, ebx
cmp byte [eax + 0x33], 2
jne 0x5035f4
movzx eax, byte [eax + 0x30]
dec eax
cmp ecx, eax
jne 0x5035f4
mov ecx, dword [esp + 0x1c]
test dword [ecx + 0x2c], 0x200
je 0x5035f4
mov eax, dword [ecx + 0x20]
test byte [eax + 0x38], 0x80
je 0x5035f4
movzx ebp, word [ecx + 0x1e]
test ebp, ebp
je 0x5035f4
mov eax, dword [eax + 8]
cmp word [eax + ebp*2], 0x24
jl 0x5035f4
mov eax, dword [edx + 0x2c]
inc eax
xor esi, esi
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
lea ebx, [eax + esi]
mov edx, dword [ecx + 8]
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x5034e9
push ebx
push esi
push edx
mov edx, 0x5d
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
jmp 0x503514
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
inc esi
cmp esi, ebp
jl 0x5034c3
mov ecx, dword [esp + 0x20]
lea eax, [ebp + 1]
mov edx, 0x1a
add dword [ecx + 0x2c], eax
mov ecx, 0x17
mov eax, dword [esp + 0x14]
mov ebx, dword [edi + 0x74]
cmp byte [eax + 0x39], 4
mov esi, dword [eax + 8]
cmove edx, ecx
cmp dword [edi + 0x78], ebx
jg 0x50355c
push dword [esp + 0x18]
mov ecx, edi
push 0
push esi
call fcn.0048eaa0
add esp, 0xc
mov ebx, eax
jmp 0x50358f
lea eax, [ebx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [edi + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x5035a6
mov eax, dword [edi + 0x70]
lea ecx, [ebx + ebx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], ebp
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x74]
mov edx, dword [esi + 0x40]
cmp dword [edi + 0x78], ecx
jg 0x5035cb
push 0
push edx
push 1
mov edx, 0xb
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
jmp 0x5035f4
lea eax, [ecx + 1]
xor ebp, ebp
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], ebp
mov ecx, dword [edi + 0xc]
mov edx, dword [esi + 0x18]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x503611
push edx
mov edx, edi
call fcn.0048f2c0
add esp, 4
jmp 0x50361a
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x14]
movzx edx, byte [esi + 0x3a]
mov ecx, dword [edi + 0x74]
mov esi, dword [esi + 0x40]
mov ebp, dword [eax + 0x3c]
mov al, byte [eax + 0x39]
mov dword [esp + 0x30], edx
mov byte [esp + 0x13], al
cmp dword [edi + 0x78], ecx
jg 0x50364d
push edx
push esi
push ebp
movzx edx, al
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
jmp 0x503684
mov dl, byte [esp + 0x13]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [edi + 0x74]
mov esi, dword [esp + 0x14]
test eax, eax
jle 0x50369e
movzx edx, byte [esi + 0x3b]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
cmp dword [esi + 0x24], 0
je 0x50371b
mov ecx, dword [edi + 0xc]
mov edx, dword [esi + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x5036c5
push edx
mov edx, edi
call fcn.0048f2c0
add esp, 4
jmp 0x5036ce
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esi + 0x40]
mov ecx, dword [edi + 0x74]
dec edx
mov esi, dword [esi + 0x24]
cmp dword [edi + 0x78], ecx
jg 0x5036f2
push 0
push edx
push esi
mov edx, 0x3c
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
jmp 0x503717
lea eax, [ecx + 1]
xor ebp, ebp
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x3c
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], ebp
mov esi, dword [esp + 0x14]
test ebx, ebx
je 0x503745
mov eax, dword [edi]
mov edx, dword [edi + 0x74]
cmp byte [eax + 0x57], 0
je 0x503731
mov eax, 0x5c24f8
jmp 0x503742
test ebx, ebx
lea eax, [edx - 1]
cmovns eax, ebx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ebx, dword [esp + 0x1c]
test dword [ebx + 0x2c], 0x800
je 0x5039f9
cmp dword [esi + 0x44], 0
jle 0x5039f9
mov ecx, dword [edi + 0xc]
mov edx, dword [esi + 0x10]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x5037a5
push edx
mov edx, edi
call fcn.0048f2c0
add esp, 4
jmp 0x5037ae
mov ecx, dword [edi + 0xc]
mov edx, dword [esi + 0x18]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x50379a
push edx
mov edx, edi
call fcn.0048f2c0
add esp, 4
jmp 0x503749
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
jmp 0x503749
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
mov dword [esp + 0x30], edx
lea ecx, [edx - 1]
lea ecx, [ecx + ecx*4]
lea esi, [eax + ecx*4]
test edx, edx
jle 0x5039f9
lea ebp, [edi + 0x70]
nop dword [eax]
mov eax, dword [edi]
mov ecx, dword [esi + 4]
mov edx, dword [edi + 0x74]
inc ecx
mov dword [esp + 0x18], ebp
cmp byte [eax + 0x57], 0
je 0x5037ea
mov eax, 0x5c24f8
jmp 0x5037fb
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebp]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp byte [esi + 0x10], 0xb6
je 0x5039b1
cmp dword [esi + 0xc], 0
je 0x503943
mov eax, dword [ebx + 0x2c]
test eax, 0x400
jne 0x50382a
test eax, 0x40000
je 0x50382a
mov ebx, 1
jmp 0x50382c
xor ebx, ebx
mov ecx, dword [esp + 0x14]
cmp dword [ecx], 0
je 0x50388f
mov ecx, dword [edi + 0x74]
mov ebp, dword [esi]
lea edx, [ecx + 2]
add edx, ebx
cmp dword [edi + 0x78], ecx
jg 0x503859
push 0
push edx
push ebp
mov edx, 0x1b
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
jmp 0x50388b
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x1b
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
test ebx, ebx
je 0x503943
mov edx, dword [edi + 0x74]
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 8]
mov dword [esp + 0x3c], eax
lea ebp, [edx + 2]
mov eax, dword [ecx + 8]
mov dword [esp + 0x38], eax
cmp dword [edi + 0x78], edx
jg 0x5038c9
push ebx
push ebp
push eax
mov edx, 0x1c
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
mov edx, eax
jmp 0x5038fc
lea eax, [edx + 1]
xor ebp, ebp
mov ebp, dword [esp + 0x38]
lea ecx, [edx + edx*4]
mov dword [edi + 0x74], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], ebp
lea ebp, [edx + 2]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov ebx, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x50391c
mov eax, dword [ebx]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x3c]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov eax, dword [edi]
mov ecx, dword [esi + 4]
mov edx, dword [edi + 0x74]
inc ecx
cmp byte [eax + 0x57], 0
je 0x503930
mov eax, 0x5c24f8
jmp 0x503940
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov al, byte [esi + 0x10]
mov ecx, dword [edi + 0x74]
mov edx, dword [esi + 4]
mov ebx, dword [esi]
mov dword [esp + 0x3c], edx
mov byte [esp + 0x13], al
cmp dword [edi + 0x78], ecx
jg 0x503972
push 0
push edx
push ebx
movzx edx, al
mov ecx, edi
call fcn.0048eaa0
mov ebp, dword [esp + 0x24]
add esp, 0xc
jmp 0x5039b1
mov ebp, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dl, byte [esp + 0x13]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x74], eax
mov eax, dword [ebp]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov ecx, dword [esi + 4]
mov ebx, dword [edi + 0x74]
mov edx, ebx
lea eax, [ecx - 1]
test eax, eax
mov eax, dword [edi]
cmovns edx, ecx
cmp byte [eax + 0x57], 0
je 0x5039d3
lea ebp, [edi + 0x70]
mov eax, 0x5c2500
jmp 0x5039df
mov eax, dword [ebp]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
add eax, 0xfffffff4
mov dword [eax], ebx
sub esi, 0x14
mov ebx, dword [esp + 0x30]
dec ebx
mov dword [esp + 0x30], ebx
test ebx, ebx
mov ebx, dword [esp + 0x1c]
jg 0x5037d0
mov ecx, dword [edi + 0xc]
mov ebp, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
mov edx, dword [ebp + 0xc]
not edx
jns 0x503a1a
push edx
mov edx, edi
call fcn.0048f2c0
add esp, 4
jmp 0x503a23
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x503ace
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x503a4c
push 0
push edx
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
jmp 0x503a7b
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov edx, dword [edi + 0x74]
mov ecx, dword [ebp + 0x14]
cmp byte [eax + 0x57], 0
je 0x503a90
mov eax, 0x5c24f8
jmp 0x503aa1
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [edi + 0x74]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffffe
lea ecx, [edx - 1]
cmovns ecx, eax
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x503ac2
mov eax, 0x5c24f8
jmp 0x503acb
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov esi, dword [ebp + 0x30]
test esi, esi
je 0x503b26
mov edx, dword [ebp + 0x2c]
mov ecx, dword [edi + 0x74]
shr edx, 1
cmp dword [edi + 0x78], ecx
jg 0x503af7
push 0
push esi
push edx
mov edx, 0x3c
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
jmp 0x503b26
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x3c
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp]
test edx, edx
je 0x503dd2
mov esi, dword [edi + 0x74]
mov ebx, dword [ebx + 0x2c]
mov dword [esp + 0x30], esi
cmp dword [edi + 0x78], esi
jg 0x503b5a
push 0
push 0
push edx
mov edx, 0x31
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x503b89
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test bl, 0x40
jne 0x503bde
mov ecx, dword [edi + 0x74]
mov edx, dword [ebp + 4]
cmp dword [edi + 0x78], ecx
jg 0x503baf
push 0
push 0
push edx
mov edx, 0x87
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
jmp 0x503bde
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test ebx, 0x200
jne 0x503c01
test ebx, 0x2000
je 0x503d1d
cmp dword [ebp + 0x44], 0
lea eax, [ebp + 0x44]
je 0x503d1d
jmp 0x503c10
lea eax, [ebp + 0x44]
test ebx, 0x2000
je 0x503ccd
mov ebp, dword [eax]
mov edx, 0xffff8000
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x503c38
mov eax, dword [esp + 0x2c]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x503c38
nop
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x503c30
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x74]
mov esi, dword [ebp + 0x2c]
mov ebx, dword [eax + 8]
cmp dword [edi + 0x78], ecx
jg 0x503c5e
push edx
push esi
push ebx
mov edx, 0x64
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
jmp 0x503c89
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x20]
mov edx, ebp
mov ecx, eax
mov esi, dword [eax + 8]
call fcn.004c16c0
mov edx, eax
test edx, edx
je 0x503cc9
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x503cb7
push edx
mov edx, 0xfffffff7
call fcn.0048f5b0
add esp, 4
jmp 0x503cc9
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov ebp, dword [esp + 0x14]
mov ecx, dword [edi + 0x74]
mov edx, dword [ebp + 8]
cmp dword [edi + 0x78], ecx
jg 0x503cee
push 0
push 0
push edx
mov edx, 0x87
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
jmp 0x503d1d
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [ebp + 0x39], 0x43
mov edx, dword [ebp + 0x1c]
mov ecx, dword [edi + 0x74]
jne 0x503d5f
mov esi, dword [ebp + 0x3c]
cmp dword [edi + 0x78], ecx
jg 0x503d46
push 0
push edx
push esi
mov edx, 0xc
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
jmp 0x503da9
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], esi
jmp 0x503d95
cmp dword [edi + 0x78], ecx
jg 0x503d7a
push 0
push edx
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
jmp 0x503da9
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 0x74]
test ecx, ecx
jns 0x503db7
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x503dc6
mov eax, 0x5c24f8
jmp 0x503dcf
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
sub ecx, 1
mov dword [esp + 0x34], ecx
jns 0x503440
lea eax, [edi + 0xc]
mov ecx, dword [eax]
mov edx, dword [esi + 0x24]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x503e06
push edx
mov edx, edi
call fcn.0048f2c0
add esp, 4
jmp 0x503e0f
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
xor ebp, ebp
cmp byte [esi + 0x30], 0
mov dword [esp + 0x30], ebp
jbe 0x503ff3
lea ebx, [esi + 0x34c]
mov dword [esp + 0x18], ebx
nop dword [eax]
movzx eax, byte [ebx - 0x14]
mov edx, dword [esp + 0x40]
lea eax, [eax + eax*8]
test byte [edx + eax*8 + 0x30], 0x10
mov ecx, dword [edx + eax*8 + 0x18]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebx]
je 0x503e69
mov ecx, dword [esp + 0x20]
push 0
push dword [edx + eax*8 + 0x28]
mov edx, dword [ebx - 0x2c]
push dword [ebx - 0x48]
call fcn.004fbe30
add esp, 0xc
jmp 0x503fdb
mov eax, dword [ecx + 0x2c]
test eax, 0x240
je 0x503e78
mov eax, dword [ecx + 0x20]
jmp 0x503e86
test eax, 0x2000
je 0x503fdb
mov eax, dword [ebx - 8]
mov dword [esp + 0x34], eax
test eax, eax
je 0x503fdb
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + 0x57], 0
jne 0x503fdb
cmp byte [esi + 0x32], 0
je 0x503eb4
mov eax, dword [eax + 0xc]
test byte [eax + 0x1c], 0x80
jne 0x503eb4
mov edx, dword [esi + 0x40]
jmp 0x503eb8
mov edx, dword [esp + 0x44]
mov esi, dword [ebx - 0x2c]
add esi, 1
mov ecx, esi
jns 0x503ec6
mov ecx, dword [edi + 0x74]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x503ed5
mov ebp, 0x5c24f8
jmp 0x503ede
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
lea ebp, [eax + ecx*4]
mov edi, dword [esp + 0x3c]
sub edx, esi
lea eax, [edx + edx*4]
lea eax, [eax*4]
add eax, ebp
add ebp, 4
mov dword [esp + 0x1c], eax
mov ecx, eax
nop dword [eax]
mov eax, dword [ebp]
cmp eax, dword [ebx - 0x48]
jne 0x503fc1
mov al, byte [ebp - 4]
cmp al, 0x5d
jne 0x503faa
mov eax, dword [edi + 0x1c]
mov edx, dword [ebp + 4]
test al, al
jns 0x503f31
mov ecx, edi
call fcn.004b9470
mov eax, dword [eax + 4]
movzx esi, word [eax + edx*2]
jmp 0x503f76
movzx ecx, dx
mov esi, ecx
test al, 0x20
je 0x503f73
xor eax, eax
xor ebx, ebx
cmp ax, cx
jg 0x503f6f
mov edx, dword [edi + 4]
add edx, 0xe
nop dword [eax]
test byte [edx], 0x20
lea eax, [esi + 1]
movzx ecx, ax
lea edx, [edx + 0x10]
movzx eax, si
cmove ecx, eax
inc ebx
movzx ecx, cx
movsx eax, cx
mov esi, ecx
cmp ebx, eax
jle 0x503f50
mov ebx, dword [esp + 0x18]
movzx esi, si
mov ecx, dword [esp + 0x34]
xor eax, eax
movzx edx, word [ecx + 0x34]
test edx, edx
je 0x503f94
mov ecx, dword [ecx + 4]
cmp si, word [ecx]
je 0x503fa5
inc eax
add ecx, 2
cmp eax, edx
jl 0x503f87
or eax, 0xffffffff
mov ecx, dword [esp + 0x1c]
cwde
test eax, eax
js 0x503fc1
mov dword [ebp + 4], eax
jmp 0x503fbb
movzx eax, ax
jmp 0x503f97
cmp al, 0x86
jne 0x503fb7
mov eax, dword [ebx - 0x44]
mov byte [ebp - 4], 0x8d
jmp 0x503fbe
cmp al, 0x16
jne 0x503fc1
mov eax, dword [ebx - 0x44]
mov dword [ebp], eax
add ebp, 0x14
lea eax, [ebp - 4]
cmp eax, ecx
jb 0x503f00
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
movzx eax, byte [esi + 0x30]
inc ebp
add ebx, 0x58
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], ebx
cmp ebp, eax
jl 0x503e30
cmp dword [esi + 0x48], 0
je 0x504000
mov ecx, esi
call fcn.004fdc40
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [edx + 0x88], eax
mov edx, esi
call fcn.004fdae0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret