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

Disassembly:
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, ecx
or ebp, 0xffffffff
push edi
mov ecx, dword [esi + 0x1ec]
mov eax, dword [esi + 0x1f4]
mov edi, dword [0xa2894c]
cmp ecx, ebp
je 0x4e367c
mov edx, edi
sub edx, ecx
cmp edx, eax
jge 0x4e36a0
sub eax, edx
cmp eax, 1
jne 0x4e36a0
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0x1ec], edi
mov dword [esi + 0x1f0], ecx
mov dword [esi + 0x1f4], eax
mov byte [esi + 0x5668], 1
mov edx, dword [esi + 0x1f8]
mov eax, dword [esi + 0x200]
cmp edx, ebp
je 0x4e36be
mov ecx, dword [0xa2894c]
sub ecx, edx
cmp ecx, eax
jge 0x4e36e8
sub eax, ecx
cmp eax, 1
jne 0x4e36e8
mov edx, dword [0xa2894c]
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0x1f8], edx
mov dword [esi + 0x1fc], ecx
mov dword [esi + 0x200], eax
mov byte [esi + 0x5669], 1
mov al, byte [esi + 0x5668]
test al, al
je 0x4e3700
mov ecx, esi
call fcn.004f2070
mov byte [esi + 0x5669], 1
mov al, byte [esi + 0x5669]
test al, al
je 0x4e3721
mov eax, dword [0xa25858]
test eax, eax
jne 0x4e3721
mov ecx, esi
call fcn.004f2200
mov ecx, esi
call fcn.004f2370
mov eax, dword [0xa2894c]
mov ecx, 0x64
cdq
idiv ecx
test edx, edx
jne 0x4e375d
mov eax, dword [esi + 0x5504]
test eax, eax
jle 0x4e375d
mov eax, dword [esi + 0x54f8]
mov ecx, dword [eax + edx*8 + 4]
lea eax, [eax + edx*8 + 4]
cmp ecx, 1
jle 0x4e3752
dec ecx
mov dword [eax], ecx
mov eax, dword [esi + 0x5504]
inc edx
cmp edx, eax
jl 0x4e373c
mov eax, dword [esi + 0x56cc]
test eax, eax
je 0x4e377a
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [0xa255a8]
test eax, eax
mov al, byte [esi + 0x134]
jne 0x4e379d
test al, al
jne 0x4e379b
mov al, byte [esi + 0x135]
test al, al
jne 0x4e379b
xor al, al
jmp 0x4e379d
mov al, 1
test al, al
jne 0x4e37d4
mov al, byte [esi + 0x13b]
test al, al
jne 0x4e37bf
mov ecx, dword [0x821b68]
mov eax, dword [esi + 0x194]
cmp eax, dword [ecx + 0x10a4]
jl 0x4e37d4
mov byte [esi + 0x13b], 1
mov byte [esi + 0x136], 1
mov byte [esi + 0x137], 1
mov al, byte [esi + 0x13f]
mov ebx, 0x78
test al, al
je 0x4e3915
mov edx, dword [esi + 0x1e0]
mov ecx, dword [esi + 0x1e8]
cmp edx, ebp
je 0x4e3804
mov eax, dword [0xa2894c]
sub eax, edx
cmp eax, ecx
jge 0x4e380c
sub ecx, eax
test ecx, ecx
jne 0x4e3915
mov eax, dword [0xa255a8]
test eax, eax
jne 0x4e3823
mov eax, dword [esi + 0x1c4]
test eax, eax
jg 0x4e3915
lea ecx, [esp + 0x18]
call fcn.0068f980
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebx
call fcn.0070a880
test al, al
je 0x4e386e
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
cmp eax, ebp
je 0x4e385c
lea ecx, [esp + 0x18]
call fcn.0068f980
sub eax, dword [esp + 0x14]
cmp eax, edi
jge 0x4e386e
sub edi, eax
test edi, edi
je 0x4e386e
call fcn.004821e0
call fcn.0070a880
test al, al
jne 0x4e383d
mov byte [esi + 0x13f], 0
mov ecx, dword [0xa255a8]
test ecx, ecx
jne 0x4e389c
mov al, byte [esi + 0x134]
test al, al
jne 0x4e38a9
mov al, byte [esi + 0x135]
test al, al
je 0x4e390e
mov byte [0xa1e0c1], 1
jmp 0x4e3915
cmp esi, dword [0xa1e0c4]
sete al
test al, al
je 0x4e38b2
mov byte [0xa1e0c1], 1
jmp 0x4e3915
cmp ecx, 3
je 0x4e38bc
cmp ecx, 4
jne 0x4e390e
mov ecx, dword [0xa255ac]
test ecx, ecx
je 0x4e390e
mov edx, dword [ecx]
call dword [edx + 4]
test al, al
je 0x4e390e
mov ecx, dword [0xa255ac]
mov eax, dword [ecx]
call dword [eax + 8]
test al, al
je 0x4e390e
mov eax, dword [0xa255a8]
test eax, eax
mov al, byte [esi + 0x134]
jne 0x4e3901
test al, al
jne 0x4e38ff
mov al, byte [esi + 0x135]
test al, al
jne 0x4e38ff
xor al, al
jmp 0x4e3901
mov al, 1
test al, al
je 0x4e390e
mov byte [0xa1e0c1], 1
jmp 0x4e3915
mov byte [0xa28898], 1
mov al, byte [esi + 0x140]
test al, al
je 0x4e39d6
mov edx, dword [esi + 0x1e0]
mov ecx, dword [esi + 0x1e8]
cmp edx, ebp
je 0x4e3940
mov eax, dword [0xa2894c]
sub eax, edx
cmp eax, ecx
jge 0x4e3948
sub ecx, eax
test ecx, ecx
jne 0x4e39d6
lea ecx, [esp + 0x18]
call fcn.0068f980
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebx
call fcn.0070a880
test al, al
je 0x4e3993
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
cmp eax, ebp
je 0x4e3981
lea ecx, [esp + 0x18]
call fcn.0068f980
sub eax, dword [esp + 0x14]
cmp eax, edi
jge 0x4e3993
sub edi, eax
test edi, edi
je 0x4e3993
call fcn.004821e0
call fcn.0070a880
test al, al
jne 0x4e3962
mov eax, dword [0xa255a8]
test eax, eax
jne 0x4e39b9
mov al, byte [esi + 0x134]
test al, al
jne 0x4e39c6
mov al, byte [esi + 0x135]
test al, al
je 0x4e39cf
mov byte [0xa28898], 1
jmp 0x4e39d6
cmp esi, dword [0xa1e0c4]
sete al
test al, al
je 0x4e39cf
mov byte [0xa28898], 1
jmp 0x4e39d6
mov byte [0xa1e0c1], 1
mov al, byte [esi + 0x13e]
test al, al
je 0x4e3a12
mov ecx, dword [esi + 0x1e0]
mov eax, dword [esi + 0x1e8]
cmp ecx, ebp
je 0x4e3a00
mov edx, dword [0xa2894c]
sub edx, ecx
mov ecx, edx
cmp ecx, eax
jge 0x4e3a04
sub eax, ecx
test eax, eax
jne 0x4e3a12
mov ecx, esi
mov byte [esi + 0x13e], 0
call fcn.004e71f0
mov eax, dword [esi + 0x52d0]
xor ecx, ecx
test eax, eax
setle cl
dec ecx
xor edx, edx
and eax, ecx
lea ecx, [esi + 0x530c]
mov dword [esi + 0x52d0], eax
mov eax, dword [esi + 0x52d4]
test eax, eax
setle dl
dec edx
and eax, edx
mov dword [esi + 0x52d4], eax
mov ax, word [ecx]
cmp ax, word [0xa28b3c]
jne 0x4e3a61
mov dx, word [ecx + 2]
cmp dx, word [0xa28b3e]
je 0x4e3b23
mov eax, dword [0xa2894c]
mov edi, 0xf
cdq
idiv edi
test edx, edx
jne 0x4e3b23
xor ebp, ebp
lea eax, [esp + 0x14]
push ebp
push ebp
push eax
push ecx
mov ecx, 0x81a800
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call fcn.005453b0
mov ecx, eax
call fcn.00471260
mov edi, eax
cmp edi, ebp
je 0x4e3b23
mov al, byte [edi + 0x14]
xor bl, bl
test al, 4
je 0x4e3abc
mov eax, dword [edi + 0x494]
mov ebp, edi
test eax, eax
je 0x4e3abc
mov bl, 1
jmp 0x4e3acf
mov edx, dword [edi]
push 1
push 1
push 0xa28b70
mov ecx, edi
call dword [edx + 0x15c]
test ebp, ebp
je 0x4e3add
mov eax, dword [ebp + 0x494]
test eax, eax
jne 0x4e3b23
test bl, bl
jne 0x4e3b23
mov al, byte [edi + 0x76]
xor ebx, ebx
test al, al
jne 0x4e3b23
mov eax, ebx
inc ebx
cmp eax, 5
jge 0x4e3b23
mov ecx, dword [edi + 0x6c]
mov eax, dword [0x821b68]
mov edx, dword [edi]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0xc74]
push 0
push 1
push 0
push ecx
lea eax, [esp + 0x20]
push 0
push eax
mov ecx, edi
call dword [edx + 0x158]
mov al, byte [edi + 0x76]
test al, al
je 0x4e3aea
mov edx, dword [esi + 0x5684]
mov eax, dword [esi + 0x568c]
cmp edx, 0xffffffff
je 0x4e3b42
mov ecx, dword [0xa2894c]
sub ecx, edx
cmp ecx, eax
jge 0x4e3b4a
sub eax, ecx
test eax, eax
jne 0x4e3c2c
mov eax, dword [0xa255a8]
test eax, eax
mov al, byte [esi + 0x134]
jne 0x4e3b6d
test al, al
jne 0x4e3b6b
mov al, byte [esi + 0x135]
test al, al
jne 0x4e3b6b
xor al, al
jmp 0x4e3b6d
mov al, 1
test al, al
jne 0x4e3c2c
mov ecx, dword [esi + 0x34]
mov al, byte [ecx + 0x1a6]
test al, al
jne 0x4e3c2c
push 0
mov edx, esi
lea ecx, [esp + 0x40]
call fcn.006b4250
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x20]
push edx
call fcn.004f62e0
mov ebx, vtable.VectorClass_class_TeamTypeClass_const__.0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], vtable.TypeList_class_TeamTypeClass_const__.0
mov dword [esp + 0x3c], ebx
call fcn.004f7080
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x4e3bdf
xor edi, edi
test eax, eax
jle 0x4e3bdf
mov eax, dword [esp + 0x24]
push esi
mov ecx, dword [eax + edi*4]
call fcn.006b4180
mov eax, dword [esp + 0x30]
inc edi
cmp edi, eax
jl 0x4e3bc9
mov edx, dword [0x821b68]
mov ecx, dword [esi + 0xc8]
mov eax, dword [0xa2894c]
mov edx, dword [edx + 0xe34]
mov ecx, dword [edx + ecx*4]
mov dword [esi + 0x5684], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
mov dword [esi + 0x5688], eax
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esi + 0x568c], ecx
je 0x4e3c2c
mov cl, byte [esp + 0x2d]
test cl, cl
je 0x4e3c2c
push eax
call fcn.0076d2d5
add esp, 4
cmp dword [0xa1e0c4], esi
jne 0x4e3ebe
mov eax, dword [esi + 0x230]
test eax, eax
jne 0x4e3c57
mov al, byte [0x81b9ad]
test al, al
je 0x4e3c57
push 0
mov ecx, 0x81a800
call fcn.0049c410
cmp dword [0xa1e0c4], esi
jne 0x4e3ebe
mov edx, dword [esi + 0x56c0]
mov eax, dword [esi + 0x56c8]
lea edi, [esi + 0x56c0]
cmp edx, 0xffffffff
je 0x4e3c88
mov ecx, dword [0xa2894c]
sub ecx, edx
cmp ecx, eax
jge 0x4e3c8c
sub eax, ecx
test eax, eax
jne 0x4e3d0b
mov ecx, dword [esi + 0x24]
lea eax, [esi + 0x24]
push eax
call dword [ecx + 0x18]
cmp eax, 0x64
jge 0x4e3d0b
mov edx, dword [esi + 0x52c8]
mov ebp, dword [esi + 0x52c4]
mov ebx, dword [esi + 0x52c0]
mov ecx, dword [esi + 0x52bc]
add edx, ebp
add edx, ebx
add edx, ecx
test edx, edx
jle 0x4e3d0b
push 0xffffffffffffffff
or edx, 0xffffffff
mov ecx, str.EVA_InsufficientFunds
call fcn.0070a5a0
mov ecx, 0x81a800
call fcn.00696c60
mov eax, dword [0x821b68]
fld qword [eax + 0x1310]
fmul qword [0x786608]
call fcn.0076a6b0
push eax
mov ecx, 0xa28738
call fcn.005d1c90
mov ecx, dword [0xa2894c]
mov edx, edi
mov dword [edx], ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov edx, dword [edi]
mov ecx, dword [edi + 8]
cmp edx, 0xffffffff
je 0x4e3d22
mov eax, dword [0xa2894c]
sub eax, edx
cmp eax, ecx
jge 0x4e3d26
sub ecx, eax
test ecx, ecx
jne 0x4e3d7d
mov ebx, dword [esi + 0x250]
lea ecx, [esi + 0x23c]
call fcn.00690360
call fcn.0076a6b0
mov edx, ebx
sub edx, eax
cmp edx, 0x1e
jge 0x4e3d7d
cmp ebx, 0x32
jle 0x4e3d7d
mov eax, dword [0x821b68]
fld qword [eax + 0x1310]
fmul qword [0x786608]
call fcn.0076a6b0
push eax
mov ecx, 0xa28738
call fcn.005d1c90
mov ecx, dword [0xa2894c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x18]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x52d0]
mov eax, dword [esi + 0x52d4]
cmp ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jge 0x4e3eb4
test eax, eax
je 0x4e3eb4
test ecx, ecx
je 0x4e3dbe
fild dword [esp + 0x10]
fidiv dword [esp + 0x14]
fcomp qword [0x785708]
fnstsw ax
test ah, 1
je 0x4e3eb4
mov edx, dword [0x821b68]
lea edi, [esi + 0x5460]
mov eax, dword [edx + 0x7cc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xb90]
mov ecx, edi
push edx
call fcn.004919a0
test eax, eax
jg 0x4e3e08
mov eax, dword [0x821b68]
mov ecx, dword [eax + 0x7cc]
mov edx, dword [ecx + 4]
mov ecx, edi
mov eax, dword [edx + 0xb90]
push eax
call fcn.004919a0
test eax, eax
jle 0x4e3ebe
mov eax, dword [0xa28bec]
test eax, eax
jne 0x4e3e75
push 0xffffffffffffffff
or edx, 0xffffffff
mov ecx, str.EVA_LowPower
call fcn.0070a5a0
mov ecx, dword [0x821b68]
push 0
fld qword [ecx + 0x1128]
fmul qword [0x786608]
call fcn.0076a6b0
mov edx, dword [esi + 0x15f40]
push eax
push 0x4046
push edx
push 0x88e
push str.C:RA2House.CPP
xor edx, edx
mov ecx, str.TXT_LOW_POWER
call fcn.006eea10
push eax
push 0
push 0
mov ecx, 0xa25f80
call fcn.005b1830
mov dword [0xa28bec], 1
mov eax, dword [0x821b68]
fld qword [eax + 0x1310]
fmul qword [0x786608]
call fcn.0076a6b0
push eax
mov ecx, 0xa28738
call fcn.005d1c90
mov ecx, dword [0xa2894c]
lea edx, [esi + 0x56a8]
mov dword [esi + 0x56a8], ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
jmp 0x4e3ebe
mov dword [0xa28bec], 0
mov edi, dword [esi + 0x5308]
test edi, edi
je 0x4e3ee0
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
cmp eax, 1
jne 0x4e3ee0
mov eax, dword [edi]
push 2
mov ecx, edi
call dword [eax + 0x11c]
mov edx, dword [esi + 0x5690]
mov eax, dword [esi + 0x5698]
cmp edx, 0xffffffff
je 0x4e3eff
mov ecx, dword [0xa2894c]
sub ecx, edx
cmp ecx, eax
jge 0x4e3f0d
sub eax, ecx
test eax, eax
je 0x4e3f0d
mov al, byte [esi + 0x18d]
test al, al
je 0x4e3f35
mov ecx, dword [0xa2894c]
mov edx, dword [esp + 0x18]
mov eax, 0x5a
mov dword [esi + 0x5690], ecx
mov dword [esi + 0x5694], edx
mov dword [esi + 0x5698], eax
mov byte [esi + 0x18d], 0
mov eax, dword [esi + 0x1ac]
xor ebx, ebx
test eax, eax
jle 0x4e3f9a
mov eax, dword [esi + 0x1a0]
mov edi, dword [eax + ebx*4]
mov al, byte [edi + 0x55]
test al, al
je 0x4e3f8f
cmp esi, dword [0xa1e0c4]
sete cl
push ecx
mov ecx, edi
call fcn.006928e0
test al, al
je 0x4e3f8f
cmp esi, dword [0xa1e0c4]
jne 0x4e3f8f
mov ecx, dword [edi + 0x24]
mov edx, dword [ecx]
call dword [edx + 0x40]
push 0
mov edx, eax
mov ecx, 0x39
call fcn.00676eb0
push eax
mov ecx, 0x81a800
call fcn.00671a50
mov eax, dword [esi + 0x1ac]
inc ebx
cmp ebx, eax
jl 0x4e3f41
mov eax, dword [0xa255a8]
test eax, eax
je 0x4e40d5
mov al, byte [esi + 0x13d]
test al, al
jne 0x4e40d5
mov eax, dword [0xa2894c]
test eax, eax
jle 0x4e40d5
mov eax, dword [esi + 0x34]
mov cl, byte [eax + 0x1a6]
test cl, cl
jne 0x4e40d5
mov cl, byte [0xa255d2]
test cl, cl
je 0x4e404e
mov ecx, dword [esi + 0x230]
test ecx, ecx
jne 0x4e40d5
mov ecx, dword [0x821b68]
lea edi, [ecx + 0x9d0]
lea ecx, [eax + 0x98]
call fcn.004f8880
mov edx, 1
mov ecx, eax
shl edx, cl
mov ecx, dword [edi + 0x10]
xor eax, eax
test ecx, ecx
jle 0x4e402b
mov edi, dword [edi + 4]
mov ebx, edi
mov ebp, dword [ebx]
test dword [ebp + 0x5e8], edx
jne 0x4e4049
inc eax
add ebx, 4
cmp eax, ecx
jl 0x4e4019
xor eax, eax
mov edx, dword [eax + 0xb90]
lea ecx, [esi + 0x5430]
push edx
call fcn.004919a0
test eax, eax
jne 0x4e40d5
jmp 0x4e40c7
mov eax, dword [edi + eax*4]
jmp 0x4e402d
mov eax, dword [esi + 0x230]
test eax, eax
jne 0x4e40d5
mov eax, dword [esi + 0x238]
test eax, eax
jne 0x4e40d5
mov eax, dword [esi + 0x234]
test eax, eax
jne 0x4e40d5
mov ebx, dword [esi + 0x228]
test ebx, ebx
je 0x4e40c7
mov eax, dword [0xa255a0]
mov ecx, dword [eax]
test ch, 8
je 0x4e40c3
mov ecx, dword [0x821b68]
lea ebp, [esi + 0x5430]
mov edi, dword [ecx + 0x9f0]
mov ecx, ebp
mov edx, dword [edi + 4]
mov eax, dword [edx + 0xb90]
push eax
call fcn.004919a0
mov ecx, dword [edi]
mov edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0xb90]
mov ecx, ebp
push eax
call fcn.004919a0
mov ecx, dword [esp + 0x14]
add ecx, eax
sub ebx, ecx
test ebx, ebx
jg 0x4e40d5
mov ecx, esi
call fcn.004e71f0
mov ecx, esi
call fcn.004e6c90
mov edx, dword [0xa2894c]
and edx, reloc.WSOCK32.dll_getsockopt
jns 0x4e40e8
dec edx
or edx, 0xfffffff8
inc edx
jne 0x4e410c
mov edi, dword [esi + 0x48]
dec edi
js 0x4e410c
mov eax, dword [0xa28b3c]
mov ecx, dword [esi + 0x3c]
push 0
push 0
mov ecx, dword [ecx + edi*4]
push eax
push 0
push 8
call fcn.006a92f0
dec edi
jns 0x4e40f0
mov edx, dword [esi + 0x5524]
mov eax, dword [esi + 0x552c]
cmp edx, 0xffffffff
je 0x4e412b
mov ecx, dword [0xa2894c]
sub ecx, edx
cmp ecx, eax
jge 0x4e412f
sub eax, ecx
test eax, eax
jne 0x4e4186
mov eax, dword [0xa255a8]
test eax, eax
mov al, byte [esi + 0x134]
jne 0x4e4152
test al, al
jne 0x4e4150
mov al, byte [esi + 0x135]
test al, al
jne 0x4e4150
xor al, al
jmp 0x4e4152
mov al, 1
test al, al
jne 0x4e4186
mov edx, dword [esi + 0x34]
mov al, byte [edx + 0x1a6]
test al, al
jne 0x4e4186
mov ecx, esi
call fcn.004e7d80
mov ecx, dword [0xa2894c]
mov dword [esi + 0x5524], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x5528], ecx
mov dword [esi + 0x552c], eax
mov ecx, dword [0xa255a8]
mov al, byte [esi + 0x134]
test ecx, ecx
jne 0x4e41aa
test al, al
jne 0x4e41a8
mov al, byte [esi + 0x135]
test al, al
jne 0x4e41a8
xor al, al
jmp 0x4e41aa
mov al, 1
test al, al
jne 0x4e434c
mov edx, dword [esi + 0x34]
mov al, byte [edx + 0x1a6]
test al, al
jne 0x4e434c
mov eax, dword [esi + 0x12c]
test eax, eax
je 0x4e4330
test ecx, ecx
je 0x4e4330
cmp eax, 1
jne 0x4e4219
mov ecx, esi
call fcn.004e8a30
mov eax, dword [esi + 0x553c]
cmp eax, 0xffffffff
je 0x4e4337
mov ecx, dword [0xa1dfec]
push esi
push 1
push 1
mov ecx, dword [ecx + eax*4]
push 1
mov edx, dword [ecx]
call dword [edx + 0x94]
test eax, eax
jne 0x4e434c
jmp 0x4e4337
cmp eax, 2
jne 0x4e434c
mov ecx, esi
call fcn.004e9060
mov eax, dword [0x821b68]
mov ecx, dword [esi + 0x34]
add ecx, 0x98
lea edi, [eax + 0x9ec]
call fcn.004f8880
mov edx, 1
mov ecx, eax
shl edx, cl
mov ecx, dword [edi + 0x10]
xor eax, eax
test ecx, ecx
jle 0x4e426b
mov edi, dword [edi + 4]
mov ebx, edi
mov ebp, dword [ebx]
test dword [ebp + 0x5e8], edx
jne 0x4e42ac
inc eax
add ebx, 4
cmp eax, ecx
jl 0x4e4259
xor eax, eax
mov ecx, dword [esi + 0x5540]
mov edx, dword [eax + 0xb90]
cmp ecx, edx
je 0x4e428b
mov ecx, esi
call fcn.004e9580
mov ecx, esi
call fcn.004e98a0
mov eax, dword [esi + 0x5540]
or edi, 0xffffffff
cmp eax, edi
jne 0x4e42b1
cmp dword [esi + 0x5544], edi
jne 0x4e42b1
cmp dword [esi + 0x5548], edi
jne 0x4e42b1
mov bl, 1
jmp 0x4e42b3
mov eax, dword [edi + eax*4]
jmp 0x4e426d
xor bl, bl
cmp eax, edi
je 0x4e42d5
mov edx, dword [0xa1e05c]
push esi
push 1
push 1
mov ecx, dword [edx + eax*4]
push 1
mov eax, dword [ecx]
call dword [eax + 0x94]
test eax, eax
jne 0x4e42d5
mov bl, 1
mov eax, dword [esi + 0x5544]
cmp eax, edi
je 0x4e42fd
mov ecx, dword [0xa27f84]
push esi
push 1
push 1
mov ecx, dword [ecx + eax*4]
push 1
mov edx, dword [ecx]
call dword [edx + 0x94]
test eax, eax
jne 0x4e42fd
mov bl, 1
mov eax, dword [esi + 0x5548]
cmp eax, edi
je 0x4e4323
mov ecx, dword [0xa2558c]
push esi
push 1
push 1
mov ecx, dword [ecx + eax*4]
push 1
mov edx, dword [ecx]
call dword [edx + 0x94]
test eax, eax
je 0x4e4327
test bl, bl
je 0x4e434c
mov ecx, esi
call fcn.004e8a30
jmp 0x4e434c
mov ecx, esi
call fcn.004e8a30
mov ecx, esi
call fcn.004e9060
mov ecx, esi
call fcn.004e9580
mov ecx, esi
call fcn.004e98a0
mov eax, dword [0xa1e0c4]
cmp eax, esi
mov al, byte [esi + 0x144]
jne 0x4e43cd
test al, al
je 0x4e43e6
mov byte [esi + 0x144], 0
mov ebp, dword [esi + 0x78]
xor ebx, ebx
test ebp, ebp
jle 0x4e43c1
mov eax, dword [esi + 0x6c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x4e43bc
mov al, byte [edi + 0x7d]
test al, al
je 0x4e43bc
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4e43bc
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x16c]
cmp eax, 0x13
je 0x4e43bc
cmp dword [edi + 0xa0], 0x13
je 0x4e43bc
mov eax, dword [0xa1e0c4]
mov ecx, dword [edi + 0x1b4]
cmp eax, ecx
jne 0x4e43bc
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x46c]
inc ebx
cmp ebx, ebp
jl 0x4e4373
mov ecx, 0x81a800
call fcn.00673810
jmp 0x4e43d8
test al, al
je 0x4e43e6
mov byte [esi + 0x144], 0
mov ecx, esi
call fcn.004f3ed0
mov ecx, esi
call fcn.004f4160
mov al, byte [esi + 0x18c]
test al, al
je 0x4e441c
mov ecx, dword [esi + 0x1c8]
mov eax, dword [esi + 0x1d0]
cmp ecx, 0xffffffff
je 0x4e4411
mov edx, dword [0xa2894c]
sub edx, ecx
mov ecx, edx
cmp ecx, eax
jge 0x4e4415
sub eax, ecx
test eax, eax
jne 0x4e441c
mov byte [esi + 0x18c], 0
cmp esi, dword [0xa1e0c4]
jne 0x4e4443
mov al, byte [esi + 0x192]
test al, al
je 0x4e4443
push 0
push 0
mov ecx, 0x81a800
mov byte [esi + 0x192], 0
call fcn.0049da50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret