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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x38], edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x20], edi
mov esi, dword [edi + 8]
mov ebx, dword [ecx + 0x40]
mov eax, dword [edi]
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x4793df
nop dword [eax]
cmp dword [ebx], eax
je 0x4793db
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x4793d0
mov dword [esp + 0x28], ebx
movsx eax, word [ecx + 0x2a]
add eax, 2
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x38]
mov edx, dword [edi + 0x28]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
lea eax, [edx + 1]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x2c], ecx
cmp dword [eax + 0x30], ecx
jg 0x47942c
push 0
push dword [esp + 0x1c]
mov ecx, esi
push edx
mov edx, 0x6c
call fcn.00426240
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x479462
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x6c
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 + 0x2c]
mov edx, dword [esp + 0x38]
push 0
push 4
lea ecx, [eax + 1]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
inc ecx
add eax, ecx
mov ecx, edi
push 0
mov dword [esp + 0x3c], eax
inc eax
push 0
push dword [ebp + 0x18]
mov dword [esp + 0x48], eax
mov dword [edi + 0x2c], eax
call fcn.00488860
add esp, 0x14
mov dword [esp + 0x38], eax
test eax, eax
je 0x479b4c
mov eax, dword [ebp + 8]
xor ecx, ecx
xor edi, edi
cmp cx, word [eax + 0x2a]
jge 0x47955a
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
add ecx, 2
mov dword [esp + 0x3c], ecx
mov eax, dword [ebp + 0x14]
lea edx, [ecx + edi]
mov eax, dword [eax + edi*4]
test eax, eax
js 0x4794e8
push edx
lea edx, [eax + eax*2]
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edx*8 + 4]
call fcn.00443650
add esp, 4
jmp 0x47953f
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x47950d
push edx
push edi
push dword [esp + 0x24]
mov edx, 0x9d
mov ecx, esi
call fcn.00426240
add esp, 0xc
jmp 0x47953f
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x9d
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 8]
inc edi
mov ecx, dword [esp + 0x3c]
movsx eax, word [eax + 0x2a]
cmp edi, eax
jl 0x4794c4
mov ebx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
test byte [eax + 0x24], 0x20
jne 0x479639
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x47958d
push 0
push dword [esp + 0x18]
mov edx, 0x7b
mov ecx, esi
push dword [esp + 0x24]
call fcn.00426240
add esp, 0xc
jmp 0x4795c3
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x7b
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
inc edi
test edx, edx
je 0x4795e5
mov ecx, dword [esp + 0x20]
push edi
call fcn.00443650
mov edx, dword [esp + 0x18]
add esp, 4
jmp 0x479727
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x479612
push 0
push edi
push dword [esp + 0x24]
mov edx, 0x7b
mov ecx, esi
call fcn.00426240
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x479727
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x7b
jmp 0x479713
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x479650
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x479650
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x479640
mov eax, dword [ecx + 4]
mov ecx, dword [esi + 0x88]
movsx edi, word [eax]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x479682
push dword [esp + 0x14]
mov edx, 0x9d
mov ecx, esi
push edi
push dword [esp + 0x24]
call fcn.00426240
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4796b4
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x9d
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x88]
lea eax, [edx + 1]
mov dword [esp + 0x3c], eax
add edi, 2
mov eax, dword [esi + 0xc]
add edi, edx
mov dword [esp + 0x1c], edi
cmp dword [eax + 0x30], ecx
jg 0x4796f2
mov edi, dword [esp + 0x3c]
mov edx, 0x4c
push 0
push edi
push dword [esp + 0x24]
mov ecx, esi
call fcn.00426240
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x479727
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edi
lea edi, [edx + 1]
mov dword [eax + ecx*4], 0x4c
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edi
mov eax, dword [esp + 0x38]
mov al, byte [eax + 0x31]
mov byte [esp + 0x13], al
test al, al
je 0x479781
mov eax, dword [esi]
cmp byte [eax + 0x49], 0
jne 0x47976a
mov eax, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea edi, [eax + ecx*4]
mov ecx, dword [esi]
call fcn.00426b10
add esp, 4
mov word [edi], 0xa6
mov dword [edi + 0x10], 0
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x78], 0
jne 0x479967
mov byte [edi + 0x14], 0
jmp 0x479967
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4797a9
push dword [esp + 0x30]
mov ecx, esi
push dword [esp + 0x1c]
push edx
mov edx, 0x63
call fcn.00426240
add esp, 0xc
jmp 0x4797db
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x63
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
cmp dword [eax + 0x30], ecx
jg 0x47980a
push 0
push edx
push edi
mov edx, 0x73
mov ecx, esi
call fcn.00426240
mov edx, dword [esp + 0x40]
add esp, 0xc
jmp 0x479838
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x73
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x47985d
push edx
push dword [esp + 0x34]
mov edx, 0x74
mov ecx, esi
push edi
call fcn.00426240
add esp, 0xc
jmp 0x47988f
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x38]
call fcn.004896d0
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x2c], edx
cmp dword [eax + 0x30], edx
jg 0x4798c4
push 0
push 0
push edi
mov edx, 0x25
mov ecx, esi
call fcn.00426240
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x4798f6
lea eax, [edx + 1]
mov dword [esi + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
xor edi, edi
cmp dword [esp + 0x18], edi
jle 0x479963
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x88]
add edx, edi
cmp dword [eax + 0x30], ecx
jg 0x47992a
push edx
push edi
push ebx
mov edx, 0x60
mov ecx, esi
call fcn.00426240
add esp, 0xc
jmp 0x479958
mov ebx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
inc edi
cmp edi, dword [esp + 0x18]
jl 0x479902
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.0047bdf0
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x88]
cmp dword [eax + 0x30], edx
jg 0x47999c
push dword [esp + 0x14]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x1c]
push 0
call fcn.00426240
add esp, 0xc
mov edx, eax
jmp 0x4799d6
mov edi, dword [esp + 0x18]
lea eax, [edx + 1]
mov dword [esi + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x49], 0
jne 0x479a18
test edx, edx
jns 0x4799e9
mov edx, dword [esi + 0x88]
dec edx
mov eax, dword [esi + 0x58]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x479a0a
push 0xfffffffffffffff4
push ebx
mov edx, eax
mov ecx, esi
call fcn.00426c90
add esp, 8
jmp 0x479a18
test ebx, ebx
je 0x479a18
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xf4
inc dword [ebx + 0xc]
mov ecx, dword [esi + 0x88]
test ecx, ecx
jle 0x479a3e
mov eax, dword [ebp + 0x1c]
lea ecx, [ecx + ecx*4]
movzx edx, ax
cmp eax, 0xa
mov eax, dword [esi + 0x58]
mov ebx, 2
cmove edx, ebx
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [edi + 0x78]
test eax, eax
cmovne edi, eax
cmp byte [esp + 0x13], 0
mov byte [edi + 0x15], 1
jne 0x479b43
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x88]
lea edi, [ebx + 1]
cmp dword [eax + 0x30], ecx
jg 0x479a86
push 0
push edi
push dword [esp + 0x2c]
mov edx, 7
mov ecx, esi
call fcn.00426240
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x479ab8
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 7
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edi, dword [esi + 0x88]
cmp byte [eax + 0x49], 0
je 0x479acd
mov eax, 0x550080
jmp 0x479ade
test ebx, ebx
lea eax, [edi - 1]
cmovns eax, ebx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edi
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x88]
cmp dword [eax + 0x30], edi
jg 0x479b0a
push 0
push 0
push edx
mov edx, 0x70
mov ecx, esi
call fcn.00426240
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi + 1]
mov dword [esi + 0x88], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x70
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
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x38]
call fcn.004896d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret