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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, 0x4c2810
mov ecx, ebx
call fcn.0041bf92
mov ecx, dword [0x4c2870]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + eax*4]
mov ecx, 0xfffffe6e
mov esi, dword [eax]
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], esi
cmp eax, ecx
ja 0x47050b
je 0x4704aa
mov ecx, 0xfffffdd9
cmp eax, ecx
ja 0x470355
je 0x47033e
cmp eax, 0xfffffd09
je 0x47031f
cmp eax, 0xfffffd0e
je 0x470316
cmp eax, 0xfffffd0f
je 0x4702f9
cmp eax, 0xfffffd16
je 0x47034f
push edi
push dword [ebp + 0xc]
push 0x4e
push dword [ebp + 8]
call dword [0x48e560]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [esi + 0x19a], 1
jne 0x47030b
push eax
push dword [edi + 4]
call fcn.0046eaee
xor ebx, ebx
mov word [esi + 0x199], bx
jmp 0x4702e1
mov byte [esi + 0x199], 1
jmp 0x4702e1
cmp byte [esi + 0x199], 0
mov byte [esi + 0x19a], 1
jne 0x4702e1
mov byte [esi + 0x19a], 0
push dword [edi + 8]
jmp 0x47049d
xor ebx, ebx
push ebx
push ebx
push 0x130b
push dword [edi]
call dword [0x48e66c]
push eax
jmp 0x47049d
cmp eax, 0xfffffdda
je 0x470458
cmp eax, 0xfffffdee
je 0x4703eb
cmp eax, 0xfffffe3d
je 0x4704aa
cmp eax, 0xfffffe64
jne 0x4702e1
mov esi, dword [edi]
push 0xfffffffffffffff0
push esi
call dword [0x48e640]
test eax, 0x100
je 0x4702e1
cmp word [edi + 0xc], 0x20
jne 0x4702e1
xor ebx, ebx
push ebx
push 9
push 0x110a
push esi
call dword [0x48e66c]
test eax, eax
je 0x4702e1
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
push eax
push ebx
push 0x113e
push esi
mov dword [esp + 0x5c], 4
call dword [0x48e66c]
test eax, eax
je 0x4702e1
push ebx
push dword [esp + 0x74]
jmp 0x4704a0
cmp dword [esi + 0x188], 0
je 0x4702e1
mov edx, dword [0x4c2894]
push 3
pop ecx
cmp edx, ecx
jl 0x4702e1
mov esi, dword [0x4c2884]
mov eax, dword [esi + ecx*4]
mov eax, dword [eax]
test eax, eax
je 0x470424
movzx eax, byte [eax + 0x93]
cmp eax, dword [edi + 4]
je 0x470429
inc ecx
cmp ecx, edx
jle 0x47040f
cmp ecx, edx
jg 0x4702e1
mov eax, dword [esi + ecx*4]
push 0x4f
mov eax, dword [eax]
push dword [eax + 0x54]
lea eax, [edi + 0x10]
push eax
call fcn.00423670
add esp, 0xc
xor eax, eax
mov word [edi + 0xae], ax
xor eax, eax
inc eax
jmp 0x4702f0
mov ebx, dword [0x48e5e0]
push 0x11
call ebx
test ax, ax
jns 0x4702e1
push 9
call ebx
test ax, ax
jns 0x4702e1
xor ebx, ebx
push ebx
push ebx
push 0x130b
push dword [edi]
call dword [0x48e66c]
push 0x10
mov esi, eax
call dword [0x48e5e0]
test ax, ax
jns 0x47049b
dec esi
jmp 0x47049c
inc esi
push esi
push dword [edi + 4]
call fcn.0046eaee
jmp 0x4702e1
mov esi, dword [0x48e66c]
xor ebx, ebx
push ebx
push 9
push 0x110a
push dword [edi]
call esi
test eax, eax
je 0x4702e1
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
push eax
push ebx
push 0x113e
push dword [edi]
mov dword [esp + 0x5c], 4
call esi
test eax, eax
je 0x4702e1
mov eax, dword [edi + 0x34]
cmp eax, dword [edi + 0x5c]
je 0x4702e1
cmp dword [edi + 0xc], 0x1000
je 0x4702e1
cmp dword [edi + 0xc], 1
jmp 0x4703db
cmp eax, 0xfffffff0
ja 0x4706ac
je 0x4706a1
cmp eax, 0xfffffec0
je 0x470690
cmp eax, 0xfffffed4
je 0x470690
cmp eax, 0xffffff93
je 0x4705e7
cmp eax, 0xffffff94
jne 0x4702e1
mov esi, dword [edi + 4]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x28]
push eax
push esi
mov ecx, ebx
call fcn.0040ceca
test al, al
je 0x4702e1
mov eax, dword [0x4c2884]
mov ecx, dword [esp + 0xc]
xor ebx, ebx
mov eax, dword [eax + ecx*4]
push ebx
mov ecx, dword [eax]
mov ax, word [edi + 0x10]
mov word [ecx + 0x96], ax
push dword [edi + 4]
call fcn.0046eaee
mov edx, dword [0x4c2884]
mov ecx, dword [esp + 0xc]
mov eax, dword [edx + ecx*4]
mov eax, dword [eax]
cmp dword [eax + 0x28], ebx
jbe 0x4702e1
mov dword [0x4c284c], esi
mov eax, dword [edx + ecx*4]
mov ecx, 0x4c2850
mov eax, dword [eax]
add eax, 0x24
push eax
call fcn.0040ca50
mov eax, dword [0x4c2884]
mov ecx, dword [esp + 0xc]
push 0x46eae5
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
mov al, byte [eax + 0x98]
mov byte [0x4c2860], al
push dword [edi + 0x10]
push 0x1030
push dword [edi]
call dword [0x48e66c]
jmp 0x4702e1
xor ebx, ebx
push ebx
push ebx
push ebx
push dword [0x4c28bc]
call dword [0x48e090]
push 0xfffffffffffffff0
push 0xfffffffffffffff8
push ebx
push dword [0x4c28bc]
call dword [0x48e094]
push dword [ebp + 8]
call dword [0x48e56c]
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x28]
mov dword [0x4c28c0], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 1
call fcn.004128f0
mov eax, dword [ebp + 0xc]
xor esi, esi
inc esi
push str._GUI_DRAGID
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], eax
call fcn.0040cb26
push 2
push esi
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0040d422
lea ecx, [esp + 0x38]
call fcn.00407dce
lea esi, [edi + 0x20]
push esi
push dword [edi]
call dword [0x48e4bc]
push dword [edi + 0x24]
push dword [esi]
push ebx
call dword [0x48e098]
lea ecx, [esp + 0x28]
call fcn.004128f0
jmp 0x4702e1
push 1
push 0
push dword [edi]
call dword [0x48e63c]
jmp 0x4702e1
call dword [0x48e568]
jmp 0x4702e1
cmp eax, 0xfffffff4
je 0x470a2a
cmp eax, 0xfffffffb
je 0x470800
cmp eax, 0xfffffffe
jne 0x4702e1
push 1
push esi
mov ecx, ebx
call fcn.0041c65a
lea eax, [esp + 0x14]
push eax
call dword [0x48e6d0]
lea eax, [esp + 0x14]
push eax
push dword [edi]
call dword [0x48e650]
push dword [edi]
mov ecx, ebx
call fcn.0041c04e
cmp eax, 0xffffffff
je 0x4702e1
mov ecx, dword [0x4c2884]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax]
mov al, byte [eax + 0x90]
cmp al, 0x10
jb 0x4702e1
cmp al, 0x11
jbe 0x470786
cmp al, 0x13
jne 0x4702e1
mov eax, dword [esp + 0x14]
mov esi, dword [0x48e66c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
xor ebx, ebx
push ebx
push 0x1012
push dword [edi]
call esi
cmp eax, 0xffffffff
je 0x4702e1
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
push eax
push ebx
push 0x104b
push dword [edi]
mov dword [esp + 0x84], 4
call esi
test byte [esp + 0x40], 0xe
je 0x4702e1
push ebx
push dword [esp + 0x98]
jmp 0x4704a0
mov eax, dword [esp + 0x14]
mov esi, dword [0x48e66c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
xor ebx, ebx
push ebx
push 0x1111
push dword [edi]
call esi
test eax, eax
je 0x4702e1
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
push eax
push ebx
push 0x113e
push dword [edi]
mov dword [esp + 0x5c], 0xc
mov dword [esp + 0x68], 0xf000
call esi
test byte [esp + 0x30], 0x46
je 0x4702e1
push ebx
push 9
mov ebx, 0x110b
push ebx
push dword [edi]
call esi
push dword [esp + 0x34]
push 9
push ebx
push dword [edi]
call esi
jmp 0x4702e1
push 1
push esi
mov esi, 0x4c2810
xor ebx, ebx
mov ecx, esi
mov byte [esp + 0x1b], bl
call fcn.0041c65a
lea eax, [esp + 0x14]
push eax
call dword [0x48e6d0]
lea eax, [esp + 0x14]
push eax
push dword [edi]
call dword [0x48e650]
push dword [edi]
mov ecx, esi
call fcn.0041c04e
mov esi, eax
mov dword [esp + 0xc], esi
cmp esi, 0xffffffff
jne 0x470868
push dword [edi]
call dword [0x48e664]
push eax
mov ecx, 0x4c2810
call fcn.0041c04e
mov esi, eax
mov dword [esp + 0xc], esi
cmp esi, 0xffffffff
je 0x4702e1
mov byte [esp + 0x13], 1
mov eax, dword [0x4c2884]
mov dword [esp + 0x20], esi
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
mov al, byte [eax + 0x90]
cmp al, 0x10
je 0x470963
cmp al, 0x13
jne 0x4702e1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
push ebx
push 0x1012
push dword [edi]
call dword [0x48e66c]
cmp eax, 0xffffffff
jle 0x470925
cmp byte [esp + 0x13], bl
jne 0x470925
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
push eax
push ebx
push 0x104b
push dword [edi]
mov dword [esp + 0x84], 4
call dword [0x48e66c]
test eax, eax
je 0x4702e1
test byte [esp + 0x40], 0xe
je 0x470925
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x9c]
mov ecx, 0x4c2810
call fcn.0040ceca
test al, al
je 0x470921
mov esi, dword [esp + 0xc]
mov eax, dword [0x4c2884]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
test eax, eax
je 0x470921
cmp dword [eax + 0xc], ebx
jne 0x470925
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push dword [edi]
call dword [0x48e4bc]
mov eax, dword [0x4c2884]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4702e1
mov eax, dword [esp + 0x1c]
push ebx
push dword [eax]
push dword [esp + 0x20]
push dword [esp + 0x20]
push ebx
push ecx
call dword [0x48e59c]
jmp 0x4702e1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push ebx
push 0x1111
push dword [edi]
call dword [0x48e66c]
test eax, eax
je 0x4709e8
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
push eax
push ebx
push 0x113e
push dword [edi]
mov dword [esp + 0x5c], 4
call dword [0x48e66c]
test byte [esp + 0x30], 0x46
je 0x4709e8
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x78]
mov ecx, 0x4c2810
call fcn.0040ceca
test al, al
jne 0x4709d2
mov esi, dword [esp + 0x20]
jmp 0x4709e8
mov esi, dword [esp + 0xc]
mov eax, dword [0x4c2884]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
cmp dword [eax + 0xc], ebx
cmove esi, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push dword [edi]
call dword [0x48e4bc]
mov eax, dword [0x4c2884]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4702e1
mov eax, dword [esp + 0x1c]
push ebx
push dword [eax]
push dword [esp + 0x20]
push dword [esp + 0x20]
push 0x80
push ecx
call dword [0x48e59c]
jmp 0x470450
push dword [edi]
mov ecx, ebx
call fcn.0041c04e
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x4702e1
mov ecx, dword [0x4c2884]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
mov al, byte [ecx + 0x90]
cmp al, 0x10
je 0x470a5d
cmp al, 0x13
jne 0x4702e1
mov eax, dword [edi + 0xc]
dec eax
je 0x470b1b
sub eax, 0x10000
jne 0x4702e1
xor al, al
movzx eax, al
xor ebx, ebx
inc ebx
cmp dword [ecx + 0x48], 0xfe000000
mov ecx, 0x4c2810
cmove eax, ebx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x28]
push eax
push dword [edi + 0x2c]
call fcn.0040ceca
test al, al
jne 0x470aaa
xor eax, eax
jmp 0x4702f0
mov eax, dword [0x4c2884]
mov esi, dword [esp + 0xc]
push 0xfffffffffffffff0
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
push dword [eax + 0x34]
call dword [0x48e640]
test eax, 0x8000000
jne 0x470aa3
test byte [edi + 0x28], 0x11
mov ecx, dword [0x4c2884]
je 0x470ae8
mov eax, dword [ecx + esi*4]
mov eax, dword [eax]
cmp byte [eax + 0x90], 0x14
jne 0x4702e1
mov eax, dword [ecx + esi*4]
mov eax, dword [eax]
mov eax, dword [eax + 0x4c]
cmp eax, 0xffffffff
je 0x470afe
mov dword [edi + 0x30], eax
mov ecx, dword [0x4c2884]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
test eax, eax
js 0x470aa3
cmp byte [esp + 0x1c], 0
je 0x470b16
test byte [edi + 0x24], bl
je 0x470aa3
mov dword [edi + 0x34], eax
jmp 0x470aa3
push 0x20
pop eax
jmp 0x4702f0