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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x164]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
cmp edi, dword [ebx + 0x90]
jne 0x1142d5a
lea ecx, [ebx + 0x120]
lea edx, [ebx + 0x124]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
jmp 0x1142d6b
mov eax, dword [ebx + 0x12c]
mov dword [esp + 0x18], eax
add eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
lea edx, [esp + 0x14]
push edx
push esi
push eax
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
push edi
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
add eax, 5
add esp, 0x10
mov dword [edx], ecx
cmp eax, 0x12
ja case.default.0x1142da4
jmp dword [eax*4 + 0x1143920]
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x30]
sub ecx, eax
add eax, dword [ebp + 0x14]
push ecx
push eax
push edi
call edx
add esp, 0xc
mov byte [esp + 0x12], al
test al, al
je 0x1142e04
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x1142de2
mov edx, dword [ebx + 4]
push 1
lea ecx, [esp + 0x16]
push ecx
push edx
call eax
add esp, 0xc
jmp 0x1142ea0
cmp dword [ebx + 0x50], 0
je 0x1142ea0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x18]
push edi
mov esi, ebx
call fcn.01147a30
add esp, 8
jmp 0x1142ea0
mov ecx, dword [edi + 0x44]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
sub eax, ecx
add ecx, dword [ebp + 0x14]
push eax
push ecx
add esi, 0x50
push edi
mov eax, esi
call fcn.01148f30
add esp, 0xc
test eax, eax
je 0x114381c
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jne 0x1142e41
call fcn.011495b0
test al, al
je 0x114381c
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0
inc dword [esi + 0xc]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x114381c
mov edi, dword [esp + 0x30]
push 0
push esi
push ebx
call fcn.01148c30
mov edx, dword [edi + 0x60]
add esp, 0xc
cmp byte [edi + 0x81], 0
mov esi, eax
mov dword [edi + 0x5c], edx
je 0x1142eef
cmp byte [edi + 0x82], 0
jne 0x1142eef
test esi, esi
jne 0x1142f01
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x1142ed1
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx + 4]
push esi
push ecx
push edx
call eax
add esp, 0xc
mov edi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebp + 0x14], ecx
mov dword [edx], ecx
mov eax, dword [ebx + 0x1e0]
sub eax, 2
je 0x1143914
dec eax
jne 0x1142d74
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x50], 0
je 0x1142e9d
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov esi, ebx
call fcn.01147a30
add esp, 8
jmp 0x1142e9d
test esi, esi
je 0x11437d7
cmp byte [esi + 0x22], 0
je 0x11437e3
cmp byte [esi + 0x20], 0
jne 0x11437ef
cmp dword [esi + 0x1c], 0
jne 0x11437fb
cmp dword [esi + 4], 0
je 0x1142f78
cmp byte [ebx + 0x134], 0
jne 0x1142f5e
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x1142f39
mov edx, dword [esi]
mov ecx, dword [ebx + 4]
push 0
push edx
push ecx
jmp 0x1142e98
cmp dword [ebx + 0x50], 0
je 0x1142e9d
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x1c]
mov esi, ebx
call fcn.01147a30
add esp, 8
jmp 0x1142e9d
push 0
push esi
mov esi, ebx
call fcn.01146cc0
add esp, 8
test eax, eax
jne 0x1143919
jmp 0x1142e9d
cmp dword [ebx + 0x70], 0
je 0x1142f39
mov edi, ebx
mov byte [esi + 0x20], 1
call fcn.01147e80
mov byte [esi + 0x20], 0
test eax, eax
je 0x114381c
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [ebx + 0x74]
push ecx
push eax
mov eax, dword [ebx + 0x70]
push edx
call eax
add esp, 0x14
test eax, eax
je 0x1143807
mov ecx, dword [ebx + 0x1b0]
mov dword [ebx + 0x1ac], ecx
jmp 0x1142e9d
mov esi, dword [ebx + 0x170]
test esi, esi
je 0x1142fdb
mov ecx, dword [esi]
mov dword [ebx + 0x170], ecx
jmp 0x114300a
mov edx, dword [ebx + 0xc]
push 0x30
call edx
mov esi, eax
add esp, 4
test esi, esi
je 0x114381c
mov eax, dword [ebx + 0xc]
push 0x20
call eax
add esp, 4
mov dword [esi + 0x24], eax
test eax, eax
je 0x1143813
add eax, 0x20
mov dword [esi + 0x28], eax
xor ecx, ecx
mov dword [esi + 0x2c], ecx
mov edx, dword [ebx + 0x16c]
lea eax, [esi + 0x2c]
mov dword [esi], edx
mov dword [ebx + 0x16c], esi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x44]
add eax, dword [ebp + 0x14]
push eax
mov dword [esi + 4], eax
mov edx, dword [edi + 0x20]
push edi
call edx
mov dword [esi + 8], eax
inc dword [ebx + 0x138]
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
add eax, ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], ecx
mov edx, dword [esi + 0x28]
dec edx
push edx
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x3c]
push edi
call eax
mov eax, dword [esp + 0x38]
sub eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x44]
add esp, 0x1c
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x24], ecx
je 0x11430f7
jmp 0x1143090
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov edx, dword [ebx + 0x10]
sub eax, ecx
add eax, eax
push eax
push ecx
mov dword [esp + 0x3c], eax
call edx
add esp, 8
test eax, eax
je 0x114381c
mov ecx, dword [esp + 0x34]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x24], eax
add eax, dword [esp + 0x2c]
mov dword [esi + 0x28], edx
mov dword [esp + 0x1c], eax
mov edx, dword [esi + 0x28]
dec edx
push edx
lea eax, [esp + 0x20]
push eax
mov eax, dword [edi + 0x3c]
push ecx
lea edx, [esp + 0x30]
push edx
push edi
call eax
mov ecx, dword [esp + 0x30]
sub ecx, dword [esi + 0x24]
mov edx, dword [esp + 0x3c]
add esp, 0x14
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x24], edx
jne 0x1143090
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
lea eax, [esi + 0xc]
mov dword [eax], ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
push ecx
push eax
mov byte [edx], 0
mov edx, dword [ebp + 0x14]
push edx
push edi
push ebx
mov dword [esp + 0x48], eax
call fcn.01143970
add esp, 0x14
test eax, eax
jne 0x1143919
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x114315b
mov ecx, dword [ebx + 0x188]
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [edx]
mov edx, dword [ebx + 4]
push ecx
push edx
call eax
add esp, 0xc
lea ecx, [ebx + 0x1a0]
call fcn.01148ef0
jmp 0x1142ea0
cmp dword [ebx + 0x50], 0
je 0x1143174
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x18]
push edi
mov esi, ebx
call fcn.01147a30
add esp, 8
lea ecx, [ebx + 0x1a0]
call fcn.01148ef0
jmp 0x1142ea0
mov esi, dword [edi + 0x44]
add esi, dword [ebp + 0x14]
mov ecx, dword [edi + 0x20]
push esi
push edi
mov dword [esp + 0x34], 0
mov byte [esp + 0x1b], 1
call ecx
add eax, esi
push eax
push esi
push edi
lea eax, [ebx + 0x1a0]
call fcn.01148f30
add esp, 0x14
test eax, eax
je 0x11431eb
mov edx, dword [ebx + 0x1ac]
cmp edx, dword [ebx + 0x1a8]
jne 0x11431d6
lea esi, [ebx + 0x1a0]
call fcn.011495b0
test al, al
jne 0x11431d6
xor eax, eax
jmp 0x11431eb
mov eax, dword [ebx + 0x1ac]
mov byte [eax], 0
inc dword [ebx + 0x1ac]
mov eax, dword [ebx + 0x1b0]
mov dword [esp + 0x40], eax
test eax, eax
je 0x114381c
mov ecx, dword [ebx + 0x1ac]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
mov dword [ebx + 0x1b0], ecx
mov ecx, dword [ebp + 0x14]
push ecx
push edi
push ebx
call fcn.01143970
add esp, 0x14
test eax, eax
jne 0x1143919
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x1ac]
mov esi, dword [esp + 0x40]
mov dword [ebx + 0x1b0], edx
test eax, eax
je 0x114324f
mov ecx, dword [ebx + 0x188]
mov edx, dword [ebx + 4]
push ecx
push esi
push edx
call eax
add esp, 0xc
xor al, al
jmp 0x1143253
mov al, byte [esp + 0x13]
cmp dword [ebx + 0x38], 0
je 0x1143277
cmp dword [ebx + 0x34], 0
je 0x114326b
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
mov dword [edx], ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x38]
push esi
push eax
call ecx
jmp 0x1143291
test al, al
je 0x1143294
cmp dword [ebx + 0x50], 0
je 0x1143294
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x14]
push edx
push edi
mov esi, ebx
call fcn.01147a30
add esp, 8
lea ecx, [ebx + 0x1a0]
call fcn.01148ef0
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x11432e3
mov ecx, dword [ebx + 0x68]
mov eax, esi
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x11432c4
mov eax, dword [esi]
mov edx, dword [eax]
mov eax, dword [ebx + 4]
push edx
push eax
call ecx
add esp, 8
mov eax, esi
mov edx, dword [ebx + 0x178]
lea ecx, [esi + 4]
mov esi, dword [ecx]
mov dword [ecx], edx
mov dword [ebx + 0x178], eax
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov dword [ecx + 4], edx
test esi, esi
jne 0x11432a7
cmp dword [ebx + 0x138], 0
jne 0x1142ea0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
push ebx
call fcn.01146ae0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp dword [ebx + 0x138], eax
je 0x11438fa
mov esi, dword [ebx + 0x16c]
mov ecx, dword [esi]
mov edx, dword [ebx + 0x170]
mov dword [ebx + 0x16c], ecx
mov dword [esi], edx
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0x170], esi
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x20]
lea eax, [ecx + eax*2]
push eax
push edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], eax
call edx
add esp, 8
cmp eax, dword [esi + 8]
jne 0x1143828
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
cmp eax, 4
jb 0x1143398
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x1143828
mov ecx, dword [esp + 0x2c]
sub eax, 4
add edx, 4
add ecx, 4
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], ecx
cmp eax, 4
jae 0x1143374
test eax, eax
je 0x11433d0
mov dl, byte [edx]
cmp dl, byte [ecx]
jne 0x1143828
cmp eax, 1
jbe 0x11433d0
mov edx, dword [esp + 0x24]
mov dl, byte [edx + 1]
cmp dl, byte [ecx + 1]
jne 0x1143828
cmp eax, 2
jbe 0x11433d0
mov eax, dword [esp + 0x24]
mov dl, byte [eax + 2]
cmp dl, byte [ecx + 2]
jne 0x1143828
dec dword [ebx + 0x138]
cmp dword [ebx + 0x38], 0
je 0x114343e
cmp byte [ebx + 0xec], 0
mov edx, dword [esi + 0x10]
je 0x114342f
test edx, edx
je 0x114342f
mov eax, dword [esi + 0x1c]
mov cl, byte [edx]
add eax, dword [esi + 0xc]
test cl, cl
je 0x1143402
inc edx
mov byte [eax], cl
mov cl, byte [edx]
inc eax
test cl, cl
jne 0x11433f8
cmp byte [ebx + 0xed], 0
mov edx, dword [esi + 0x14]
je 0x114342c
test edx, edx
je 0x114342c
movzx ecx, byte [ebx + 0x1d8]
mov byte [eax], cl
mov cl, byte [edx]
inc eax
test cl, cl
je 0x114342c
inc edx
mov byte [eax], cl
mov cl, byte [edx]
inc eax
test cl, cl
jne 0x1143422
mov byte [eax], 0
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x38]
push edx
push eax
call ecx
jmp 0x1143458
cmp dword [ebx + 0x50], 0
je 0x114345b
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x14]
push edx
push edi
mov esi, ebx
call fcn.01147a30
mov esi, dword [esp + 0x40]
add esp, 8
cmp dword [esi + 0x2c], 0
je 0x11434a7
mov ecx, dword [ebx + 0x68]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x1143481
mov edx, dword [eax]
mov eax, dword [edx]
mov edx, dword [ebx + 4]
push eax
push edx
call ecx
mov eax, dword [esp + 0x34]
add esp, 8
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx + 4]
mov dword [esi + 0x2c], edx
mov ecx, dword [ebx + 0x178]
mov dword [eax + 4], ecx
mov dword [ebx + 0x178], eax
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov dword [edx + 4], eax
cmp dword [esi + 0x2c], 0
jne 0x1143461
cmp dword [ebx + 0x138], 0
je 0x11432f0
jmp 0x1142ea0
mov ecx, dword [ebp + 0x14]
mov edx, dword [edi + 0x2c]
push ecx
push edi
call edx
add esp, 8
test eax, eax
js 0x114383e
mov esi, dword [ebx + 0x3c]
test esi, esi
je 0x11434f0
lea ecx, [esp + 0x3c]
call fcn.01155d40
push eax
mov eax, ecx
mov ecx, dword [ebx + 4]
push eax
push ecx
call esi
add esp, 0xc
jmp 0x1142ea0
cmp dword [ebx + 0x50], 0
je 0x1142ea0
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x14]
push edx
push edi
mov esi, ebx
call fcn.01147a30
add esp, 8
jmp 0x1142ea0
mov eax, dword [ebx + 0x3c]
test eax, eax
je case.default.0x1142da4
mov edx, dword [ebx + 4]
push 1
lea ecx, [esp + 0x17]
push ecx
push edx
mov byte [esp + 0x1f], 0xa
call eax
add esp, 0xc
jmp 0x1142ea0
cmp dword [ebx + 0x50], 0
je 0x1142ea0
mov eax, dword [ebp + 0x14]
push eax
push edi
mov eax, ecx
mov esi, ebx
call fcn.01147a30
add esp, 8
jmp 0x1142ea0
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x1143565
mov ecx, dword [ebx + 4]
push ecx
call eax
add esp, 4
jmp 0x114357c
cmp dword [ebx + 0x50], 0
je 0x114357c
mov edx, dword [ebp + 0x14]
push edx
push edi
mov eax, ecx
mov esi, ebx
call fcn.01147a30
add esp, 8
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push eax
mov eax, ebx
call fcn.01144580
add esp, 0x10
test eax, eax
jne 0x1143919
cmp dword [esp + 0x14], eax
jne 0x1142ea0
mov dword [ebx + 0x118], 0x11444b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x3c]
test esi, esi
je 0x1143686
cmp byte [edi + 0x48], 0
jne 0x1143671
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x30]
push eax
mov dword [esp + 0x28], edx
lea edx, [esp + 0x28]
push edx
push ecx
mov ecx, dword [edi + 0x3c]
lea eax, [ebp + 0x14]
push eax
push edi
call ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [eax], edx
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 4]
add esp, 0x14
sub ecx, eax
push ecx
push eax
push edx
call esi
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp eax, ecx
je 0x1142ea0
lea esp, [esp]
mov edx, dword [esp + 0x18]
mov dword [edx], eax
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x30]
push edx
mov edx, dword [edi + 0x3c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push ecx
lea ecx, [ebp + 0x14]
push ecx
push edi
call edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [ecx], eax
mov eax, dword [ebx + 0x2c]
add esp, 0x14
sub edx, eax
push edx
push eax
mov eax, dword [ebx + 4]
push eax
call esi
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp eax, ecx
jne 0x1143620
jmp 0x1142ea0
mov eax, dword [ebp + 0x14]
sub ecx, eax
push ecx
mov ecx, dword [ebx + 4]
push eax
push ecx
call esi
add esp, 0xc
jmp 0x1142ea0
cmp dword [ebx + 0x50], 0
je 0x1142ea0
mov edx, dword [ebp + 0x14]
push edx
push edi
mov eax, ecx
mov esi, ebx
call fcn.01147a30
add esp, 8
jmp 0x1142ea0
mov eax, dword [ebp + 0x14]
push ecx
push eax
push ebx
mov ecx, edi
call fcn.01147870
add esp, 0xc
test eax, eax
je 0x114381c
jmp 0x1142ea0
mov edx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
mov eax, ecx
mov edi, ebx
call fcn.01147990
add esp, 4
test eax, eax
je 0x114381c
jmp 0x1142e9d
cmp byte [ebp + 0x20], 0
je 0x11436fa
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
mov dword [edx], esi
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x114371e
mov edx, dword [ebx + 4]
push 1
lea ecx, [esp + 0x17]
push ecx
push edx
mov byte [esp + 0x1f], 0xa
call eax
add esp, 0xc
jmp 0x1143739
cmp dword [ebx + 0x50], 0
je 0x1143739
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push edi
mov esi, ebx
call fcn.01147a30
mov esi, dword [ebp + 0x18]
add esp, 8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x11438e0
cmp dword [ebx + 0x138], eax
jne 0x11438fa
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
je 0x1143775
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
mov dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x11438e0
cmp dword [ebx + 0x138], eax
jne 0x11438fa
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
mov dword [edx], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov dword [eax], ecx
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
jne 0x114378c
mov eax, 5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
jne 0x11436e9
mov eax, 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x15
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x14]
push esi
call edx
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x11
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
jne 0x1143764
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x11438b8
cmp byte [edi + 0x48], 0
jne 0x11438a4
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x2c]
push edx
mov edx, dword [edi + 0x3c]
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], ecx
push esi
lea ecx, [ebp + 0x14]
push ecx
push edi
call edx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x44]
mov edx, dword [ebx + 4]
add esp, 0x14
sub ecx, eax
push ecx
push eax
mov eax, dword [ebx + 0x3c]
push edx
call eax
add esp, 0xc
jmp 0x11438d3
mov ecx, dword [ebp + 0x14]
mov edx, esi
sub edx, ecx
push edx
push ecx
mov ecx, dword [ebx + 4]
push ecx
call eax
add esp, 0xc
jmp 0x11438d3
cmp dword [ebx + 0x50], 0
je 0x11438d3
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
push edx
push edi
mov esi, ebx
call fcn.01147a30
mov esi, dword [ebp + 0x18]
add esp, 8
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x11438ec
mov eax, dword [esp + 0x18]
mov dword [eax], esi
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x138], eax
je 0x1143906
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov eax, 0xd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x1c]
mov dword [edx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret