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

Disassembly:
sub esp, 0xa24
mov eax, dword [0x10057bf0]
xor eax, esp
mov dword [esp + 0xa20], eax
mov eax, dword [esp + 0xa2c]
mov ecx, 0x1005a830
push ebx
push ebp
mov ebp, dword [esp + 0xa30]
mov edx, 0x402
push esi
mov dword [esp + 0x10], eax
mov esi, 0x10001ec4
mov eax, dword [esp + 0xa3c]
sub esi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa48]
push edi
mov edi, dword [esp + 0xa48]
mov dword [esp + 0x18], eax
mov dword [0x1005a828], 0
mov dword [0x1005c4f0], 0
lea esp, [esp]
lea eax, [edx + 0x7ffffbfc]
test eax, eax
je 0x1002029e
movzx eax, word [esi + ecx]
test ax, ax
je 0x1002029e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10020280
jmp 0x100202a2
test edx, edx
jne 0x100202a5
sub ecx, 2
xor eax, eax
mov esi, 0x10001ec4
mov word [ecx], ax
mov edx, 0x402
mov ecx, 0x1005c500
sub esi, ecx
jmp 0x100202c0
lea eax, [edx + 0x7ffffbfc]
test eax, eax
je 0x100202de
movzx eax, word [esi + ecx]
test ax, ax
je 0x100202de
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x100202c0
jmp 0x100202e2
test edx, edx
jne 0x100202e5
sub ecx, 2
xor eax, eax
mov dword [0x1005a82c], 1
mov word [ecx], ax
mov dword [0x1005c340], eax
cmp dword [0x1005b044], eax
jne 0x10020306
call fcn.100274a0
call fcn.100146c0
mov ebx, eax
test ebx, ebx
je 0x10020428
push 0x100010a0
push 0x402
lea eax, [esp + 0x234]
push eax
push 0x10001144
push ebx
call fcn.10014670
push 0
push 0
push 0x10001114
push 0x10001120
push 0x1005c4f0
push 0x10001128
push ebx
call fcn.100145c0
push 0x10001ec4
push 0x402
push 0x1005a830
push 0x10001f94
push ebx
call fcn.10014670
push 0x10001ec4
push 0x402
push 0x1005c500
push 0x10001fb4
push ebx
call fcn.10014670
push 1
push 0
push 0x10001fd4
push 0x10001fdc
push 0x1005a82c
push 0x10001fe4
push ebx
call fcn.100145c0
push ebx
push dword [esp + 0x20]
push dword [esp + 0xa4c]
push dword [esp + 0x20]
push ebp
call fcn.100146e0
push ebx
mov esi, eax
call fcn.10014730
test esi, esi
je 0x100203ce
mov eax, 0xffffec57
jmp 0x100209b3
cmp word [0x1005c500], 0
je 0x100203f2
cmp word [0x1005a830], 0
je 0x1002051b
mov dword [0x1005c340], 1
jmp 0x1002040a
cmp word [0x1005a830], 0
jne 0x1002051b
mov dword [0x1005c340], 0
lea eax, [esp + 0x22c]
push 0x100010a0
push eax
call fcn.10006a60
add esp, 8
test eax, eax
jne 0x10020474
mov dword [0x1005a828], eax
cmp dword [0x1005c340], 1
jne 0x1002056a
push 0x10002004
push 0x10002010
push 0x1005a830
push 0x105
lea eax, [esp + 0x30]
push eax
call fcn.100190c0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10018a90
test eax, eax
jns 0x10020525
mov eax, 0xffffec60
jmp 0x100209b3
lea eax, [esp + 0x22c]
push 0x100010ac
push eax
call fcn.10006a60
add esp, 8
test eax, eax
jne 0x10020499
mov dword [0x1005a828], 1
jmp 0x10020428
lea eax, [esp + 0x22c]
push 0x100010c8
push eax
call fcn.10006a60
add esp, 8
test eax, eax
jne 0x100204c1
mov dword [0x1005a828], 2
jmp 0x10020428
lea eax, [esp + 0x22c]
push 0x100010ec
push eax
call fcn.10006a60
add esp, 8
test eax, eax
jne 0x100204e9
mov dword [0x1005a828], 3
jmp 0x10020428
lea eax, [esp + 0x22c]
push 0x10002728
push eax
call fcn.10006a60
add esp, 8
test eax, eax
jne 0x10020511
mov dword [0x1005a828], 4
jmp 0x10020428
mov eax, 0xffffec5e
jmp 0x100209b3
mov eax, 0xffffec61
jmp 0x100209b3
lea ecx, [esp + 0x20]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10020530
sub ecx, edx
lea eax, [esp + 0x20]
sar ecx, 1
push ecx
push eax
push dword [esp + 0x18]
call fcn.10019390
cmp eax, 0xffffffff
je 0x1002046a
push dword [esp + 0x10]
call fcn.10018a70
lea eax, [esp + 0x20]
push eax
call fcn.10018cc0
push 0x1854
call fcn.10015a50
mov edx, eax
test edx, edx
jne 0x10020584
mov eax, 0xfffffc0d
jmp 0x100209b3
lea ecx, [edx + 0x5d]
mov ebx, 0x1000273c
mov esi, 0x10
sub ebx, ecx
lea eax, [esi + 0x7fffffee]
test eax, eax
je 0x100205ac
mov al, byte [ebx + ecx]
test al, al
je 0x100205ac
mov byte [ecx], al
inc ecx
dec esi
jne 0x10020593
jmp 0x100205b0
test esi, esi
jne 0x100205b1
dec ecx
mov byte [ecx], 0
mov dword [edx + 0x18], 0x10
mov dword [edx + 0x1c], 0xa
mov dword [edx + 0x20], 0x10
mov dword [edx + 0x24], 0xa
mov dword [edx + 0x28], 2
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0x20
mov dword [edx + 0x3a], 0xffffffff
mov dword [edx + 0x42], 0xffffffff
mov dword [edx + 0x48], 0xffffffff
mov dword [edx + 0x4c], 0xc8
mov byte [edx + 0x54], 0
mov dword [edx + 0x55], 0
mov dword [edx + 0x59], 0
mov eax, dword [0x1005a828]
mov dword [edx + 0xc], eax
mov eax, 0xffff
mov word [edx + 0x46], ax
mov eax, dword [esp + 0x18]
mov dword [eax], edx
mov dword [edi], 0x10021890
mov dword [edi + 4], 0x10021360
mov dword [edi + 8], 0x100213f0
mov dword [edi + 0xc], 0x100219c0
mov dword [edi + 0x10], 0x100213a0
mov dword [edi + 0x18], 0x10021840
mov dword [edi + 0x14], fcn.10025540
mov dword [edi + 0x1c], 0x10021bc0
mov dword [edi + 0x20], 0x10021bd0
mov dword [edi + 0x24], 0x10021370
mov dword [edi + 0x28], fcn.10025690
mov dword [edi + 0x2c], fcn.100242c0
mov dword [edi + 0x30], 0x100243b0
mov dword [edi + 0x34], fcn.10024980
mov dword [edi + 0x38], 0x10025c20
mov dword [edi + 0x3c], 0x10023560
mov dword [edi + 0x40], 0x10025bf0
mov dword [edi + 0x44], fcn.10024ab0
mov dword [edi + 0x48], fcn.10024cd0
mov dword [edi + 0x4c], 0x100261c0
mov dword [edi + 0x50], 0x10020fb0
mov dword [edi + 0x54], 0x10022f50
mov dword [edi + 0x58], 0x100230e0
mov dword [edi + 0x5c], 0x10023640
mov dword [edi + 0x60], 0x10023e30
mov dword [edi + 0x64], fcn.100240a0
mov dword [edi + 0x68], 0x10023d40
mov dword [edi + 0x6c], 0x10021320
mov dword [edi + 0x70], 0x100211d0
mov dword [edi + 0x74], 0x100210f0
mov dword [edi + 0x78], 0x1000a4a0
mov dword [edi + 0x7c], 0x10020d00
mov dword [edi + 0x80], 0x10020d60
mov dword [edi + 0x84], 0x10020cf0
mov dword [edi + 0x88], 0x10020ef0
mov dword [edi + 0x8c], fcn.10023270
mov dword [edi + 0x90], 0x100232f0
mov dword [edi + 0x94], 0x10023570
mov dword [edi + 0x98], 0x100233f0
mov dword [edi + 0x9c], 0x10023540
mov dword [edi + 0xa0], 0x10023560
mov dword [edi + 0xa4], fcn.10023890
mov dword [edi + 0xa8], 0x10023870
mov dword [edi + 0xac], 0x10021360
mov dword [edi + 0xb0], 0x100238c0
mov dword [edi + 0xb4], 0x10023c90
mov dword [edi + 0xb8], 0x10024070
mov dword [edi + 0xbc], 0x10023950
mov dword [edi + 0xc0], fcn.10023c00
mov dword [edi + 0xc4], 0x10023920
mov dword [edi + 0xc8], 0x100238e0
mov dword [edi + 0xcc], 0x10023d30
mov dword [edi + 0xd0], 0x10022e00
mov dword [edi + 0xd4], 0x10022d30
mov dword [edi + 0xd8], 0x10022280
mov dword [edi + 0xdc], 0x100227b0
mov dword [edi + 0xe0], 0x10021e50
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0x10022250
mov dword [edi + 0xec], 0x10021e80
mov dword [edi + 0xf0], 0
xor eax, eax
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0x10021e10
mov dword [edi + 0xfc], 0x10021da0
mov dword [edi + 0x100], 0x10021c60
mov dword [edi + 0x104], 0x10021bf0
mov dword [edi + 0x108], 0x10021c40
mov dword [edi + 0x10c], 0x10021eb0
mov dword [edi + 0x110], 0x100220b0
mov dword [edi + 0x114], 0x10022b40
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0x10022d00
mov dword [edi + 0x120], 0x10022b70
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0x10022ae0
mov dword [edi + 0x130], 0x10022a60
mov dword [edi + 0x134], 0x100229c0
mov dword [edi + 0x138], 0x10022520
mov dword [edi + 0x13c], 0x10022980
mov dword [edi + 0x140], 0x10022ba0
mov dword [edi + 0x144], 0x100224e0
mov dword [edi + 0x148], 0x10008020
mov dword [edi + 0x14c], 0x100224b0
mov dword [edi + 0x150], 0x10007f10
mov dword [edi + 0x154], fcn.10007f90
mov dword [edi + 0x158], 0x10007df0
mov dword [edi + 0x15c], fcn.10020f60
mov dword [edi + 0x160], 0x10007f60
mov dword [edi + 0x164], 0x10007f30
mov dword [edi + 0x168], fcn.10020f60
mov dword [edi + 0x16c], 0x10021820
mov dword [edi + 0x170], 0x10025520
mov dword [edi + 0x174], fcn.10008010
mov dword [edi + 0x178], fcn.10020f60
mov dword [edi + 0x17c], 0x10023780
mov dword [edi + 0x180], 0x10022eb0
mov dword [edi + 0x184], 0x10022ee0
mov dword [edi + 0x188], 0x10022f00
mov dword [edi + 0x18c], 0x100236a0
mov ecx, dword [esp + 0xa30]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1004491e
add esp, 0xa24
ret 0x18